|
|
@@ -509,7 +509,6 @@ var PigViewModel = function (props) {
|
|
|
self.currentScript(script);
|
|
|
$(document).trigger("showLogs");
|
|
|
$(document).trigger("running");
|
|
|
- $(document).trigger("startLogsRefresh");
|
|
|
$("#submitModal").modal("hide");
|
|
|
$.post(self.RUN_URL,
|
|
|
{
|
|
|
@@ -528,6 +527,7 @@ var PigViewModel = function (props) {
|
|
|
}
|
|
|
script.isRunning(true);
|
|
|
script.watchUrl(data.watchUrl);
|
|
|
+ $(document).trigger("startLogsRefresh");
|
|
|
$(document).trigger("refreshDashboard");
|
|
|
self.updateScripts();
|
|
|
}, "json").fail( function(xhr, textStatus, errorThrown) {
|