瀏覽代碼

[pig] Remove escaped HTML tags from submission confirmation popup

It would print them as is now that we protect against XSS.
Romain Rigaux 10 年之前
父節點
當前提交
286bd65
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      apps/pig/src/pig/templates/app.mako

+ 1 - 1
apps/pig/src/pig/templates/app.mako

@@ -1114,7 +1114,7 @@ ${ commonshare() | n,unicode }
       $("#runScriptBtn").button("loading");
       $("#withoutLogs").removeClass("hide");
       $("#withLogs").addClass("hide").text("");
-      showAlert("${_('Running')} <b>" + viewModel.currentScript().name() + "</b>...");
+      showAlert("${_('Running')} " + viewModel.currentScript().name() + "..");
     });
 
     $(document).on("saved", function () {