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 *****/
|
/***** Methods *****/
|
||||||
|
|
||||||
function show(title, header, onlocal, onremote, onmerge, options) {
|
function show(title, header, body, onlocal, onremote, onmerge, options) {
|
||||||
return plugin.queue(function(){
|
return plugin.queue(function(){
|
||||||
plugin.title = title;
|
plugin.title = title;
|
||||||
plugin.heading = util.escapeXml(header);
|
plugin.heading = util.escapeXml(header);
|
||||||
|
if (body) plugin.body = util.escapeXml(body);
|
||||||
|
|
||||||
var cb = plugin.getElement("applyall");
|
var cb = plugin.getElement("applyall");
|
||||||
cb.uncheck();
|
cb.uncheck();
|
||||||
|
|
|
@ -394,6 +394,7 @@ define(function(require, exports, module) {
|
||||||
changeDialog = filechange.show(
|
changeDialog = filechange.show(
|
||||||
"File Changed",
|
"File Changed",
|
||||||
path + " has been changed on disk.",
|
path + " has been changed on disk.",
|
||||||
|
null,
|
||||||
no,
|
no,
|
||||||
yes,
|
yes,
|
||||||
function(all) { // Merge
|
function(all) { // Merge
|
||||||
|
|
Ładowanie…
Reference in New Issue