Side navigation
Ticket #2008: ReopenPatch.diff
File ReopenPatch.diff, 0.4 KB (added by Xichekolas, December 05, 2007 06:19AM UTC)
Index: ui.dialog.js
===================================================================
--- ui.dialog.js (revision 4030)
+++ ui.dialog.js (working copy)
@@ -8,8 +8,8 @@
}
$.fn.dialogInit = function(o) {
return this.each(function() {
- if (!$(this).is(".ui-dialog")) {
- $.ui.dialogInit(this, o);
+ if (!$(this).is(".ui-dialog-content")) {
+ new $.ui.dialogInit(this, o);
}
});
}
Download in other formats:
Original Format
File ReopenPatch.diff, 0.4 KB (added by Xichekolas, December 05, 2007 06:19AM UTC)
Index: ui.dialog.js
===================================================================
--- ui.dialog.js (revision 4030)
+++ ui.dialog.js (working copy)
@@ -8,8 +8,8 @@
}
$.fn.dialogInit = function(o) {
return this.each(function() {
- if (!$(this).is(".ui-dialog")) {
- $.ui.dialogInit(this, o);
+ if (!$(this).is(".ui-dialog-content")) {
+ new $.ui.dialogInit(this, o);
}
});
}