1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-15 22:45:57 +00:00

support opening articles in new tab, misc fixes

This commit is contained in:
Andrew Dolgov
2010-11-16 14:43:43 +03:00
parent 07bb58c721
commit 6f3976c9a3
7 changed files with 140 additions and 47 deletions

View File

@@ -394,8 +394,9 @@ function closeInfoBox(cleanup) {
var dialog = dialogs.pop();
if (dialog)
dialog.hide();
if (dialog) {
dialog.destroy();
}
} catch (e) {
//exception_error("closeInfoBox", e);
@@ -408,6 +409,9 @@ function displayDlg(id, param, callback) {
notify_progress("Loading, please wait...", true);
while (dialogs.length > 0)
closeInfoBox();
var query = "?op=dlg&id=" +
param_escape(id) + "&param=" + param_escape(param);
@@ -465,10 +469,12 @@ function infobox_callback2(transport) {
style: "width: 600px",
onCancel: function() {
dialogs.remove(this);
this.destroy();
return true;
},
onExecute: function() {
dialogs.remove(this);
this.destroy();
return true;
},
onClose: function() {