aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/scripts/media.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/scripts/media.js')
-rw-r--r--lib/scripts/media.js27
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