Skip to content
Snippets Groups Projects
Commit 87acb57f authored by Andreas Gohr's avatar Andreas Gohr
Browse files

fixed two errors in media.js, still needs refactoring

parent baba2913
No related branches found
No related tags found
No related merge requests found
......@@ -303,7 +303,7 @@
$.post(
DOKU_BASE + 'lib/exe/ajax.php',
link.attr('search').substr(1) + '&call=medians',
link[0].search.substr(1) + '&call=medians',
function (data) {
ul.html(data);
listitem.append(ul);
......@@ -326,7 +326,7 @@
event.preventDefault();
jQuery.remove('div.success, div.info, div.error, div.notify');
jQuery('div.success, div.info, div.error, div.notify').remove();
content = $('#media__content');
content.html('<img src="' + DOKU_BASE + 'lib/images/loading.gif" alt="..." class="load" />');
......@@ -334,7 +334,7 @@
// fetch the subtree
$.post(
DOKU_BASE + 'lib/exe/ajax.php',
link.attr('search').substr(1)+'&call=medialist',
link[0].search.substr(1)+'&call=medialist',
function (data) {
content.html(data);
prepare_content(content);
......
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