Browse Source

[pig] Remove escaped HTML tags from submission confirmation popup

It would print them as is now that we protect against XSS.
Romain Rigaux 10 năm trước cách đây
mục cha
commit
286bd65146
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 () {