Comment 7 for bug 513331

Revision history for this message
Matteo (matteo-scaramuccia) wrote :

Patch proposal to mitigate (=no "freeze" of the UI) the issue. Maybe a starting point to add an error message instead of the (missing) configuration pane.

js/views.js:
--- C:\path\to\mahara-1.2.2/htdocs/js/views.js.orig Tue Dec 8 04:52:58 2009
+++ C:\path\to\mahara-1.2.2/htdocs/js/views.js Mon Feb 1 17:16:48 2010
@@ -338,6 +338,10 @@

     this.addConfigureBlock = function(oldblock, configblock, removeoncancel) {
+ if (!configblock.html) {
+ return;
+ }
+
         self.hideMediaPlayers();

         var temp = DIV();