File tree Expand file tree Collapse file tree 3 files changed +4
-12
lines changed
Expand file tree Collapse file tree 3 files changed +4
-12
lines changed Original file line number Diff line number Diff line change 10791079 } ) ;
10801080 }
10811081
1082- $scope . $on ( 'resetData' , function ( event ) {
1082+ $scope . $on ( 'resetData' , function ( ) {
10831083 $scope . currentSchemeType = 'Anonymous' ;
10841084 } ) ;
10851085
1086- $scope . securitySchemeChanged = function ( value ) {
1087- $scope . currentSchemeType = value ;
1088- }
1089-
10901086 $scope . cancelRequest = function ( ) {
10911087 $scope . showSpinner = false ;
10921088 } ;
@@ -5317,7 +5313,7 @@ angular.module('ramlConsoleApp').run(['$templateCache', function($templateCache)
53175313 " <div class=\"raml-console-sidebar-row raml-console-sidebar-securty\">\n" +
53185314 " <div class=\"raml-console-toggle-group raml-console-sidebar-toggle-group\">\n" +
53195315 " <label class=\"raml-console-sidebar-label\">Security Scheme</label>\n" +
5320- " <select class=\"raml-console-sidebar-input\" ng-model=\"currentSchemeType\" style=\"margin-bottom: 0;\" ng-change=\"securitySchemeChanged(currentSchemeType)\" >\n" +
5316+ " <select class=\"raml-console-sidebar-input\" ng-model=\"currentSchemeType\" style=\"margin-bottom: 0;\">\n" +
53215317 " <option ng-repeat=\"(key, scheme) in securitySchemes\" value=\"{{scheme.type}}\" ng-selected=\"scheme.type=='Anonymous'\">{{scheme.type}}</option>\n" +
53225318 " </select>\n" +
53235319 " </div>\n" +
Original file line number Diff line number Diff line change 172172 } ) ;
173173 }
174174
175- $scope . $on ( 'resetData' , function ( event ) {
175+ $scope . $on ( 'resetData' , function ( ) {
176176 $scope . currentSchemeType = 'Anonymous' ;
177177 } ) ;
178178
179- $scope . securitySchemeChanged = function ( value ) {
180- $scope . currentSchemeType = value ;
181- }
182-
183179 $scope . cancelRequest = function ( ) {
184180 $scope . showSpinner = false ;
185181 } ;
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ <h4 class="raml-console-sidebar-subhead">Authentication</h4>
2626 < div class ="raml-console-sidebar-row raml-console-sidebar-securty ">
2727 < div class ="raml-console-toggle-group raml-console-sidebar-toggle-group ">
2828 < label class ="raml-console-sidebar-label "> Security Scheme</ label >
29- < select class ="raml-console-sidebar-input " ng-model ="currentSchemeType " style ="margin-bottom: 0; " ng-change =" securitySchemeChanged(currentSchemeType) " >
29+ < select class ="raml-console-sidebar-input " ng-model ="currentSchemeType " style ="margin-bottom: 0; ">
3030 < option ng-repeat ="(key, scheme) in securitySchemes " value ="{{scheme.type}} " ng-selected ="scheme.type=='Anonymous' "> {{scheme.type}}</ option >
3131 </ select >
3232 </ div >
You can’t perform that action at this time.
0 commit comments