diff options
author | Anika Henke <anika@selfthinker.org> | 2011-10-15 10:35:25 +0100 |
---|---|---|
committer | Anika Henke <anika@selfthinker.org> | 2011-10-15 10:36:13 +0100 |
commit | 6f0b0dd1609f2a253b48f1b9347168dd2d5a61d7 (patch) | |
tree | e85ae649e5d3c6e5b57077e5ff9942402785f23f /lib/scripts/media.js | |
parent | faba9a3522d0d79f3d6172e15804bc23c1215ddf (diff) | |
download | dokuwiki-6f0b0dd1609f2a253b48f1b9347168dd2d5a61d7.tar.gz dokuwiki-6f0b0dd1609f2a253b48f1b9347168dd2d5a61d7.zip |
removed remnants of old flash uploader (FS#2335)
Diffstat (limited to 'lib/scripts/media.js')
-rw-r--r-- | lib/scripts/media.js | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/lib/scripts/media.js b/lib/scripts/media.js index 76274c868..2d7c8feb2 100644 --- a/lib/scripts/media.js +++ b/lib/scripts/media.js @@ -848,33 +848,6 @@ var dw_mediamanager = { } }, - initFlashUpload: function () { - var $oform, $oflash; - if(!hasFlash(8)) { - return; - } - - $oform = jQuery('#dw__upload'); - $oflash = jQuery('#dw__flashupload'); - - if(!$oform.length || !$oflash.length) { - return; - } - - jQuery(document.createElement('img')) - .attr('src', DOKU_BASE+'lib/images/multiupload.png') - .attr('title', LANG.mu_btn) - .attr('alt', LANG.mu_btn) - .css('cursor', 'pointer') - .click( - function () { - $oform.hide(); - $oflash.show(); - } - ) - .appendTo($oform); - }, - /** * Sets the visibility of the image details accordingly to the * chosen hide state |