Commit 2b224d46 authored by Robert Lyon's avatar Robert Lyon
Browse files

Bug 1487222: Loading spinner problem with TinyMCE imagebrowser



behatnotneeded: is a style change

When you submit the form after uploading an image it removes the form
completely from the DOM so that the functions formStopProcessing() and
processingStop() never get to trigger.

I've added a processingStop() to the imagebrowser code directly - this
should be fine as mahara.js is called on every page so the function
will be presesnt.

Change-Id: I2ef6b44885e75c6f032557adacd920efbf4b1aa2
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent b50f6ede
......@@ -250,6 +250,7 @@ tinymce.PluginManager.add('imagebrowser', function(editor) {
});
jQuery('#imagebrowser').remove();
}, 1);
processingStop();
}
function getFormVals() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment