File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 9797 < form class ="navbar-form navbar-left " role ="search ">
9898 < div class ="form-group ">
9999
100- < button class ="btn btn-primary " ng-click ="save(); "> Save configuration </ button >
100+ < button class ="btn btn-primary " ng-click ="save(); "> Save to gist </ button >
101101
102102 < div class ="input-group " ng-show ="navbarMode === 'default' && !error "> </ div >
103103 < div class ="input-group " ng-show ="navbarMode === 'loaded' && !error ">
@@ -250,7 +250,7 @@ <h3>Schema</h3>
250250 $scope . loading = false ;
251251 $scope . schemaJson = res . files [ 'schema.json' ] . content ;
252252 $scope . formJson = res . files [ 'form.json' ] . content ;
253- $scope . modelData = res . files [ 'model.json' ] . content ;
253+ $scope . modelData = JSON . parse ( res . files [ 'model.json' ] . content ) ;
254254 } ) . error ( function ( ) {
255255 $scope . loadedData = 'dummy' ;
256256 $scope . error = 'Failed to load gist.' ;
You can’t perform that action at this time.
0 commit comments