kopia lustrzana https://github.com/c9/core
Minor fixes
rodzic
1ac22b4693
commit
572f7b0f82
|
@ -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); } }
|
||||
]);
|
||||
});
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue