mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-14 09:45:55 +00:00
dijit.dialog canceling change
This commit is contained in:
@@ -395,7 +395,8 @@ function closeInfoBox(cleanup) {
|
|||||||
var dialog = dialogs.pop();
|
var dialog = dialogs.pop();
|
||||||
|
|
||||||
if (dialog) {
|
if (dialog) {
|
||||||
dialog.destroy();
|
dialog.attr('content', '');
|
||||||
|
dialog.hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
@@ -469,16 +470,17 @@ function infobox_callback2(transport) {
|
|||||||
style: "width: 600px",
|
style: "width: 600px",
|
||||||
onCancel: function() {
|
onCancel: function() {
|
||||||
dialogs.remove(this);
|
dialogs.remove(this);
|
||||||
this.destroy();
|
this.attr('content', '');
|
||||||
return true;
|
return true;
|
||||||
},
|
},
|
||||||
onExecute: function() {
|
onExecute: function() {
|
||||||
dialogs.remove(this);
|
dialogs.remove(this);
|
||||||
this.destroy();
|
this.attr('content', '');
|
||||||
return true;
|
return true;
|
||||||
},
|
},
|
||||||
onClose: function() {
|
onClose: function() {
|
||||||
dialogs.remove(this);
|
dialogs.remove(this);
|
||||||
|
this.attr('content', '');
|
||||||
return true;
|
return true;
|
||||||
},
|
},
|
||||||
content: content});
|
content: content});
|
||||||
|
|||||||
Reference in New Issue
Block a user