pull/152/head
Tim Robinson 2015-09-11 13:10:14 +00:00
rodzic 1ac22b4693
commit 572f7b0f82
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -41,14 +41,14 @@ define(function(require, module, exports) {
if (options.merge) {
var mergeBoth = plugin.getElement("mergeboth");
if (options.merge.caption) mergeBoth.setAttribute("caption", options.mergeBoth.caption);
if (options.merge.caption) mergeBoth.setAttribute("caption", options.merge.caption);
}
plugin.update([
{ id: "keepmine", onclick: function(){ plugin.hide(); onlocal(cb.value); } },
{ id: "useremote", onclick: function(){ plugin.hide(); onremote(cb.value); } },
{ id: "mergeboth", visible: options.merge, onclick: function(){ plugin.hide(); onmerge(cb.value); } }
{ id: "mergeboth", visible: !!options.merge, onclick: function(){ plugin.hide(); onmerge(cb.value); } }
]);
});
}