File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
deps/rabbitmq_management/priv/www/js Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -668,6 +668,10 @@ function postprocess() {
668
668
"after deletion." ) ;
669
669
} ) ;
670
670
671
+ $ ( 'form.enable-feature-flag' ) . on ( 'submit' , function ( ) {
672
+ full_refresh ( ) ;
673
+ } ) ;
674
+
671
675
$ ( 'label' ) . map ( function ( ) {
672
676
if ( $ ( this ) . attr ( 'for' ) == '' ) {
673
677
var id = 'auto-label-' + Math . floor ( Math . random ( ) * 1000000000 ) ;
Original file line number Diff line number Diff line change 48
48
< p>< span> & #9888 ;< / span> Disabled! < / p>
49
49
< % } % >
50
50
< % if (feature_flag .state == " disabled" ) { % >
51
- < form action= " #/feature-flags-enable" method= " put" style= " display: inline-block" >
51
+ < form action= " #/feature-flags-enable" method= " put" style= " display: inline-block" class = " enable-feature-flag " >
52
52
< input type= " hidden" name= " name" value= " <%= fmt_string(feature_flag.name) %>" / >
53
53
< input type= " submit" value= " Enable" class = " c" / >
54
54
< / form>
You can’t perform that action at this time.
0 commit comments