Skip to content
Snippets Groups Projects
Commit 05668d51 authored by legac's avatar legac
Browse files

Add protection in the method is_plugin.

parent f31461be
No related branches found
No related tags found
No related merge requests found
......@@ -227,6 +227,10 @@ Ext.define('App', {
return false;
}
if (component.plugins === undefined) {
return false;
}
for (i = 0; i < component.plugins.length; i += 1) {
plugin = component.plugins[i];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment