Return true to not throw an exception if the plugin worked

This commit is contained in:
Nathan Gray 2013-02-14 11:01:50 +00:00
parent bfc0c48210
commit 588c6141c9

View File

@ -364,6 +364,7 @@ egw.extend('json', egw.MODULE_WND_LOCAL, function(_app, _wnd) {
req.onLoadFinish.call(req.sender);
}
});
return true;
}
throw 'Invalid parameters';
}, null, 'js');
@ -383,6 +384,7 @@ egw.extend('json', egw.MODULE_WND_LOCAL, function(_app, _wnd) {
// Close the document
_wnd.document.close();
return true;
}
throw 'Invalid parameters';
}, null, 'html');