kopia lustrzana https://github.com/c9/core
Allow changing of body text in filechange dialog
rodzic
7d600d1d78
commit
1833b8c330
|
@ -28,10 +28,11 @@ define(function(require, module, exports) {
|
|||
|
||||
/***** Methods *****/
|
||||
|
||||
function show(title, header, onlocal, onremote, onmerge, options) {
|
||||
function show(title, header, body, onlocal, onremote, onmerge, options) {
|
||||
return plugin.queue(function(){
|
||||
plugin.title = title;
|
||||
plugin.heading = util.escapeXml(header);
|
||||
if (body) plugin.body = util.escapeXml(body);
|
||||
|
||||
var cb = plugin.getElement("applyall");
|
||||
cb.uncheck();
|
||||
|
|
|
@ -394,6 +394,7 @@ define(function(require, exports, module) {
|
|||
changeDialog = filechange.show(
|
||||
"File Changed",
|
||||
path + " has been changed on disk.",
|
||||
null,
|
||||
no,
|
||||
yes,
|
||||
function(all) { // Merge
|
||||
|
|
Ładowanie…
Reference in New Issue