diff options
Diffstat (limited to 'functions.js')
-rw-r--r-- | functions.js | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/functions.js b/functions.js index 884256df9..f0135f76a 100644 --- a/functions.js +++ b/functions.js @@ -2248,3 +2248,34 @@ function feedArchiveRemove() { } } +function uploadIconHandler(iframe) { + try { + notify_info("Icon changed!"); + + alert("Icon changed, blah blah"); + + + } catch (e) { + exception_error("uploadIconHandler", e); + } +} + +function uploadFeedIcon() { + + try { + + var file = $("icon_file"); + + if (file.value.length == 0) { + alert(__("Please select an image file to upload.")); + return false; + } else { + notify_progress("Uploading, please wait...", true); + return true; + } + + } catch (e) { + exception_error("uploadFeedIcon", e); + } +} + |