Skip to content
Snippets Groups Projects
Commit 10799f9c authored by Kate Arzamastseva's avatar Kate Arzamastseva
Browse files

issue #44 removing drop-area after upload

parent c472bad9
No related merge requests found
......@@ -1209,7 +1209,7 @@ function tpl_fileDetails($image, $rev){
} elseif ($opened_tab == 'history' && $conf['mediarevisions']) {
echo '<div id="mediamanager__details">';
media_tab_history($image,$NS,$AUTH,$removed);
media_tab_history($image,$NS,$AUTH);
echo '</div>';
}
}
......@@ -1465,7 +1465,6 @@ function tpl_media() {
if (isset($JUMPTO)) $image = $JUMPTO;
if (isset($REV) && !$JUMPTO) $rev = $REV;
echo '<div id="test"></div>';
echo '<div id="mediamanager__page">';
echo '<div id="mediamanager__layout">';
......
......@@ -164,6 +164,7 @@ qq.extend(qq.FileUploaderExtended.prototype, {
qq.remove(nameInput);
jQuery('.qq-upload-button, #mediamanager__upload_button').remove();
jQuery('#dw__ow').parent().hide();
jQuery('.qq-upload-drop-area').remove();
if (result.success){
qq.addClass(item, this._classes.success);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment