فهرست منبع

[pig] Remove escaped HTML tags from submission confirmation popup

It would print them as is now that we protect against XSS.
Romain Rigaux 10 سال پیش
والد
کامیت
286bd65146
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 () {