Skip to content

Commit

Permalink
Merge pull request olton#236 from Kation/master
Browse files Browse the repository at this point in the history
Fix And New Feature
  • Loading branch information
olton committed May 16, 2013
2 parents 37fd723 + bb794f9 commit 6e63d79
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion css/modern.css
Original file line number Diff line number Diff line change
Expand Up @@ -7231,7 +7231,7 @@ License: CC BY-SA 3.0 -- http://creativecommons.org/licenses/by-sa/3.0/
top: 0;
left: 0;
background-color: rgba(235, 235, 235, 0.5);
z-index: 1;
z-index: 9999;
}
.metrouicss .calendar {
background-color: #ffffff !important;
Expand Down
9 changes: 6 additions & 3 deletions javascript/dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,12 @@
buttons.eq(i++).click(function(){
// Calling function and hide the dialog

obj.action();
$.Dialog.hide();
return false;
//Get button return value
var result = obj.action();
if (result != false){
$.Dialog.hide();
return false;
}
});
});
}
Expand Down

0 comments on commit 6e63d79

Please sign in to comment.