|
|
@ -73,6 +73,7 @@ define([
|
|
|
|
$button.remove();
|
|
|
|
$button.remove();
|
|
|
|
var md = Util.clone(metadataMgr.getMetadata());
|
|
|
|
var md = Util.clone(metadataMgr.getMetadata());
|
|
|
|
md.enableColors = true;
|
|
|
|
md.enableColors = true;
|
|
|
|
|
|
|
|
common.setAttribute(['code', 'enableColors'], true);
|
|
|
|
metadataMgr.updateMetadata(md);
|
|
|
|
metadataMgr.updateMetadata(md);
|
|
|
|
setButton(false);
|
|
|
|
setButton(false);
|
|
|
|
});
|
|
|
|
});
|
|
|
@ -86,6 +87,7 @@ define([
|
|
|
|
$button.remove();
|
|
|
|
$button.remove();
|
|
|
|
var md = Util.clone(metadataMgr.getMetadata());
|
|
|
|
var md = Util.clone(metadataMgr.getMetadata());
|
|
|
|
md.enableColors = false;
|
|
|
|
md.enableColors = false;
|
|
|
|
|
|
|
|
common.setAttribute(['code', 'enableColors'], false);
|
|
|
|
metadataMgr.updateMetadata(md);
|
|
|
|
metadataMgr.updateMetadata(md);
|
|
|
|
setButton(true);
|
|
|
|
setButton(true);
|
|
|
|
});
|
|
|
|
});
|
|
|
|