Skip to content

Commit

Permalink
Fix: #50 , #8 set height and width of model and remove use of Rb_Help…
Browse files Browse the repository at this point in the history
…erEvent
  • Loading branch information
rbsl-rimjhim committed Jul 21, 2014
1 parent 757499b commit a7d79b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions source/media/rb/js/rb.core.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,11 +129,11 @@ rb.ui.dialog = {
},

height : function(height){
$('#rbWindowContent').dialog("option", "height", height);
$('#rbWindowBody').css("height", height);
},

width : function(width){
$('#rbWindowContent').dialog("option", "width", width);
$('#rbWindowContent').css("width", width);
},

autoclose : function($time){
Expand Down
2 changes: 1 addition & 1 deletion source/rb/rb/controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,7 @@ public function trigger($event=null,$args=null)
$args = $this->_getArgs();

//args must be an array
return Rb_HelperEvent::trigger($event, $args);
return Rb_HelperPlugin::trigger($event, $args);
}
}

0 comments on commit a7d79b8

Please sign in to comment.