File tree 2 files changed +16
-6
lines changed
2 files changed +16
-6
lines changed Original file line number Diff line number Diff line change 59
59
60
60
<div class =" center tab-pane fade" id =" tabDetails" >
61
61
<div class =" panel panel-default" >
62
- <div class = " panel-body " id = " executionList " >
63
- <form id = " massActionForm " name = " massActionForm " title = " " role = " form " >
62
+ <form id = " massActionForm " name = " massActionForm " title = " " role = " form " >
63
+ <div class = " panel-body " id = " executionList " >
64
64
<table id =" executionsTable" class =" table table-bordered table-hover display" name =" executionsTable" ></table >
65
- </ form >
66
- <div class = " marginBottom20 " >< /div >
67
- </div >
65
+ < div class = " marginBottom20 " ></ div >
66
+ </div >
67
+ </form >
68
68
</div >
69
69
</div >
70
70
Original file line number Diff line number Diff line change 17
17
* You should have received a copy of the GNU General Public License
18
18
* along with Cerberus. If not, see <http://www.gnu.org/licenses/>.
19
19
*/
20
+
21
+
22
+ var tabClicked = false ;
23
+
20
24
$ . when ( $ . getScript ( "js/global/global.js" ) ) . then ( function ( ) {
21
25
$ ( document ) . ready ( function ( ) {
22
26
initPage ( ) ;
@@ -118,16 +122,22 @@ function initPage() {
118
122
119
123
switch ( $ ( e . target ) . attr ( "href" ) ) {
120
124
case "#tabDetails" :
121
- refreshTable ( ) ;
125
+ if ( tabClicked ) {
126
+ refreshTable ( ) ;
127
+ tabClicked = true ;
128
+ }
122
129
break ;
123
130
case "#tabFollowUp" :
124
131
displayAndRefresh_followup ( ) ;
132
+ tabClicked = true ;
125
133
break ;
126
134
case "#tabJobStatus" :
127
135
displayAndRefresh_jobStatus ( ) ;
136
+ tabClicked = true ;
128
137
break ;
129
138
case "#tabQueueHistory" :
130
139
loadStatGraph ( ) ;
140
+ tabClicked = true ;
131
141
break ;
132
142
}
133
143
} ) ;
You can’t perform that action at this time.
0 commit comments