Explorar el Código

[pig] Remove escaped HTML tags from submission confirmation popup

It would print them as is now that we protect against XSS.
Romain Rigaux hace 10 años
padre
commit
286bd65146
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 () {