File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed
Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 146146 }
147147 if ( newObj . default ) {
148148 var instanceIds = newObj . _buildfire . plugins . data ;
149+ var loadAllPlugins = newObj . content . loadAllPlugins ;
150+
149151 newObj = Utility . getDefaultScopeBlankData ( ) ;
152+ newObj . content . loadAllPlugins = loadAllPlugins ;
153+
150154 newObj . _buildfire . plugins . data = instanceIds ;
151155 if ( tmpCarousalData ) {
152156 editor . loadItems ( tmpCarousalData ) ;
Original file line number Diff line number Diff line change 66 "scripts" : {
77 "start" : " gulp build" ,
88 "postinstall" : " ./node_modules/.bin/bower install" ,
9- "test" : " ./node_modules/.bin/karma start karma.conf.js"
9+ "test" : " ./node_modules/.bin/karma start karma.conf.js" ,
10+ "build" : " gulp build && cd .. && rm -rf folderPlugin.zip && zip -r folderPlugin.zip folderPlugin_release/"
1011 },
1112 "dependencies" : {
1213 "bower" : " ^1.5.3" ,
Original file line number Diff line number Diff line change 212212
213213 function loadData ( err , obj ) {
214214 if ( err ) return ;
215+ if ( ! obj . data . design ) return ;
215216 layout = obj . data . design . selectedLayout ;
216217
217218 if ( ! obj . data . design . securedFeaturesOption )
You can’t perform that action at this time.
0 commit comments