Allow changing of body text in filechange dialog

pull/152/head
Tim Robinson 2015-09-10 16:30:44 +00:00
rodzic 7d600d1d78
commit 1833b8c330
2 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -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();

Wyświetl plik

@ -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