|
|
@@ -874,6 +874,12 @@ MWF.xScript.CMSEnvironment = function(ev){
|
|
|
scriptAction.getScriptByName( application, name, includedScripts, function(json){
|
|
|
if (json.data){
|
|
|
includedScripts.push( key );
|
|
|
+
|
|
|
+ //名称、别名、id
|
|
|
+ json.data.importedList.each( function ( flag ) {
|
|
|
+ includedScripts.push( type + "-" + json.applicationName + "-" + flag );
|
|
|
+ });
|
|
|
+
|
|
|
includedScripts = includedScripts.concat(json.data.importedList);
|
|
|
MWF.CMSMacro.exec(json.data.text, this);
|
|
|
if (callback) callback.apply(this);
|