]> git.sur5r.net Git - bacula/bacula/blobdiff - gui/baculum/protected/Portlets/JobList.tpl
baculum: Switch to started job status just after job start
[bacula/bacula] / gui / baculum / protected / Portlets / JobList.tpl
index 66956b43d4e18fa4aa5fe1ab46176892bb9cf6d9..e79d97f9ff214511b89c272d4a2b9cd413fd5829 100644 (file)
@@ -78,6 +78,7 @@
        </com:TCallback>
        <com:TCallback ID="RunJobCall" OnCallback="Page.JobWindow.run_again">
                <prop:ClientSide.OnLoading>
+                       ConfigurationWindow.getObj('JobWindow').progress(true);
                        var img_btn = $('run_job_again_btn');
                        var img_src_path = img_btn.readAttribute('src').replace(/[^\/]+\S$/, '');
                        img_btn.writeAttribute('disabled', 'disabled');
@@ -88,6 +89,9 @@
                        var img_src_path = img_btn.readAttribute('src').replace(/[^\/]+\S$/, '');
                        img_btn.writeAttribute('src', img_src_path + 'play.png');
                        img_btn.removeAttribute('disabled');
+                       ConfigurationWindow.getObj('JobWindow').progress(false);
+                       ConfigurationWindow.getObj('JobWindow').show();
+                       ConfigurationWindow.getObj('JobWindow').switchTabByNo(2);
                        status_callback_func();
                        oMonitor();
                </prop:ClientSide.OnComplete>