kopia lustrzana https://github.com/c9/core
Fix replace
rodzic
8245b782b8
commit
2c7a029ad1
|
@ -25,7 +25,7 @@ define(function(require, module, exports) {
|
|||
return plugin.queue(function(){
|
||||
plugin.title = title;
|
||||
plugin.heading = options && options.isHTML ? header : util.escapeXml(header);
|
||||
plugin.body = options && options.isHTML ? msg : util.escapeXml(msg).replace("\n", "<br>");
|
||||
plugin.body = options && options.isHTML ? msg : util.escapeXml(msg).replace(/\n/g, "<br>");
|
||||
|
||||
plugin.update([
|
||||
{ id: "ok", onclick: function(){ plugin.hide(); onconfirm(); } },
|
||||
|
|
Ładowanie…
Reference in New Issue