diff options
author | Andrew Dolgov <[email protected]> | 2018-12-02 20:57:51 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-12-02 20:57:51 +0300 |
commit | eeb49d375ce7e6addc382bab1a1545e897bb1771 (patch) | |
tree | 23e68e2bd0e99b74f06514524ea10bde03765f0d /js/common.js | |
parent | 526389b2d380177490605037fdc3a24ebc688fac (diff) |
uploadIconHandler -> CommonDialogs
Diffstat (limited to 'js/common.js')
-rwxr-xr-x | js/common.js | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/js/common.js b/js/common.js index ec6381e31..1da3e6d1b 100755 --- a/js/common.js +++ b/js/common.js @@ -344,27 +344,6 @@ function fatalError(code, msg, ext_info) { } */ // noinspection JSUnusedGlobalSymbols -function uploadIconHandler(rc) { - switch (rc) { - case 0: - Notify.info("Upload complete."); - if (App.isPrefs()) { - Feeds.reload(); - } else { - setTimeout('Feeds.reload(false, false)', 50); - } - break; - case 1: - Notify.error("Upload failed: icon is too big."); - break; - case 2: - Notify.error("Upload failed."); - break; - } -} - - -// noinspection JSUnusedGlobalSymbols function label_to_feed_id(label) { return _label_base_index - 1 - Math.abs(label); } |