|
|
@ -250,12 +250,12 @@ define([
|
|
|
|
jscolorL = new window.jscolor(el,{onFineChange: onchange, valueElement:undefined});
|
|
|
|
jscolorL = new window.jscolor(el,{onFineChange: onchange, valueElement:undefined});
|
|
|
|
jscolorL.show();
|
|
|
|
jscolorL.show();
|
|
|
|
var currentColor = boardJSON.color;
|
|
|
|
var currentColor = boardJSON.color;
|
|
|
|
if (currentColor == undefined) {
|
|
|
|
if (currentColor === undefined) {
|
|
|
|
currentColor = ''
|
|
|
|
currentColor = '';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
jscolorL.fromString(currentColor);
|
|
|
|
jscolorL.fromString(currentColor);
|
|
|
|
},
|
|
|
|
},
|
|
|
|
buttonClick: function (el, boardId) {
|
|
|
|
buttonClick: function (el, boardId, e) {
|
|
|
|
e.stopPropagation();
|
|
|
|
e.stopPropagation();
|
|
|
|
if (framework.isReadOnly() || framework.isLocked()) { return; }
|
|
|
|
if (framework.isReadOnly() || framework.isLocked()) { return; }
|
|
|
|
UI.confirm(Messages.kanban_deleteBoard, function (yes) {
|
|
|
|
UI.confirm(Messages.kanban_deleteBoard, function (yes) {
|
|
|
|