1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-14 03:15:54 +00:00

rework version checking

This commit is contained in:
Andrew Dolgov
2010-11-23 10:30:36 +03:00
parent 6ef0c9c342
commit 63855db147
5 changed files with 64 additions and 69 deletions

View File

@@ -1107,3 +1107,24 @@ function scheduleFeedUpdate(id, is_cat) {
exception_error("scheduleFeedUpdate", e);
}
}
function newVersionDlg() {
try {
var query = "backend.php?op=dlg&id=newVersion";
if (dijit.byId("newVersionDlg"))
dijit.byId("newVersionDlg").destroyRecursive();
dialog = new dijit.Dialog({
id: "newVersionDlg",
title: __("New version available!"),
style: "width: 600px",
href: query,
});
dialog.show();
} catch (e) {
exception_error("newVersionDlg", e);
}
}