diff options
author | Andrew Dolgov <[email protected]> | 2010-01-14 11:28:57 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-01-14 11:28:57 +0300 |
commit | c3b7b797f51793825b5fa992635d951736df239a (patch) | |
tree | 92ea87aca633965ec265e30498f2c516a6c6300f /functions.js | |
parent | b6a6e262bebfdcea6b9523e63c287f94b4ffcff6 (diff) |
add prototype of icon replacing control; misc tweaks
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); + } +} + |