* forbid open index/index in app's iframe to prevent infinite nesting.
This commit is contained in:
@@ -71,7 +71,7 @@
|
||||
if(code) return code;
|
||||
|
||||
var link = $.parseLink(urlOrModuleName);
|
||||
if(!link.moduleName || link.isOnlyBody) return '';
|
||||
if(!link.moduleName || link.isOnlyBody || (link.moduleName === 'index' && link.methodName === 'index')) return '';
|
||||
|
||||
if(link.hash && link.hash.indexOf('app=') === 0) return link.hash.substr(4);
|
||||
|
||||
|
||||
+2
-2
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user