Skip to content

Commit

Permalink
fix dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
olton committed May 29, 2013
1 parent d5a744f commit 60d525a
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions javascript/dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,20 +157,11 @@
buttons.eq(i++).click(function() {
// Calling function and close the dialog

<<<<<<< HEAD
//Get button return value
var result = obj.action();
if (result != false){
$.Dialog.hide();
return false;
}
=======
obj.action();
if(!params.keepOpened) {
$.Dialog.close();
}
return false;
>>>>>>> 9b40cc7219d06ae3243a298144a9cf73d2b5a9a8
});
});
}
Expand Down

0 comments on commit 60d525a

Please sign in to comment.