File tree Expand file tree Collapse file tree 3 files changed +11
-11
lines changed
Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 1- 0.4.0a
1+ 0.4.0b
Original file line number Diff line number Diff line change @@ -3,19 +3,18 @@ var APP = APP || {};
33APP . proxy = ( function ( $ ) {
44
55 function init ( ) {
6- registerEventHandler ( ) ;
6+ registerEventHandlers ( ) ;
77 updateProxyPage ( ) ;
88 }
9-
10- function registerEventHandler ( ) {
11- $ ( document ) . on ( "click" , '#button-save-proxy' , function ( e ) {
12- saveAndTestProxy ( ) ;
13- } ) ;
14- }
15-
16- function saveAndTestProxy ( ) {
9+
10+ function registerEventHandlers ( ) {
11+ $ ( document ) . on ( "click" , '#button-save-proxy' , function ( e ) {
1712 saveProxy ( ) ;
13+ } ) ;
14+
15+ $ ( document ) . on ( "click" , '#button-test-proxy' , function ( e ) {
1816 testProxy ( ) ;
17+ } ) ;
1918 }
2019
2120 function saveProxy ( ) {
Original file line number Diff line number Diff line change @@ -62,7 +62,8 @@ <h4 class="no-margin">proxychains</h4>
6262<!-- <div class="padded-right save-text" id="test0-proxy-status"></div>
6363 <div class="padded-right save-text" id="test1-proxy-status"></div>-->
6464 < div class ="padded-right save-text " id ="save-proxy-status "> </ div >
65- < input class ="button-primary " type ="button " id ="button-save-proxy " value ="Save and Test Configuration "/>
65+ < input class ="button-primary " type ="button " id ="button-save-proxy " value ="Save Proxy Config "/>
66+ < input class ="button-primary " type ="button " id ="button-test-proxy " value ="Test Proxy Config "/>
6667 </ div >
6768 </ div >
6869</ div >
You can’t perform that action at this time.
0 commit comments