Skip to content

Commit

Permalink
Merge pull request #2 from paulorb/patch-1
Browse files Browse the repository at this point in the history
 Changed to put the minimized in the bottom of the screen
  • Loading branch information
Mark committed Oct 18, 2012
2 parents baf53ff + c6667bd commit dfa77bf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions jquery.dialog.extra.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
*
* Idea based on: Extension of JQuery UI Dialog widget to add custom minimizing capabilities (by Ryan Curtis)
*
* 2012 PauloRB - Changed to put the minimized in the bottom of the screen
*/
(function($){
var def_options = {
Expand Down Expand Up @@ -249,6 +250,9 @@
this.uiDialog.animate({width: 200, height:this.titlebarHeight},200);
this.element.hide();

this.uiDialog.css("top", "");
this.uiDialog.css("bottom", "0");

this.uiDialogTitlebarMaximize.show();
this.uiDialogTitlebarMinimize.hide();
this.uiDialogTitlebarRest.show();
Expand Down

0 comments on commit dfa77bf

Please sign in to comment.