Browse Source

WebUI: MochaUI: Check for undefined functions

adaptive-webui-19844
Gabriele 10 years ago
parent
commit
aded5422d8
  1. 2
      src/webui/www/public/scripts/mocha-yc.js
  2. 2
      src/webui/www/public/scripts/mocha.js

2
src/webui/www/public/scripts/mocha-yc.js

File diff suppressed because one or more lines are too long

2
src/webui/www/public/scripts/mocha.js

@ -163,6 +163,8 @@ MUI.extend({
new MUI.Require({ new MUI.Require({
js: options.require.js, js: options.require.js,
onload: function(){ onload: function(){
if (!$defined(options.require.onload))
return;
if (Browser.Engine.presto){ if (Browser.Engine.presto){
options.require.onload.delay(100); options.require.onload.delay(100);
} }

Loading…
Cancel
Save