mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 14:17:57 +01:00
restoring color chooser
This commit is contained in:
parent
cbdc1679db
commit
2b81b71cb4
@ -268,7 +268,7 @@ function afterMindpotLibraryLoading()
|
|||||||
designer.deleteCurrentNode();
|
designer.deleteCurrentNode();
|
||||||
});
|
});
|
||||||
var context = this;
|
var context = this;
|
||||||
/*var colorPicker1 = new MooRainbow('topicColor', {
|
var colorPicker1 = new MooRainbow('topicColor', {
|
||||||
id: 'topicColor',
|
id: 'topicColor',
|
||||||
imgPath: '../images/',
|
imgPath: '../images/',
|
||||||
startColor: [255, 255, 255],
|
startColor: [255, 255, 255],
|
||||||
@ -297,7 +297,7 @@ function afterMindpotLibraryLoading()
|
|||||||
onComplete: function(color) {
|
onComplete: function(color) {
|
||||||
removeCurrentColorPicker.attempt(colorPicker2, context);
|
removeCurrentColorPicker.attempt(colorPicker2, context);
|
||||||
}
|
}
|
||||||
});*/
|
});
|
||||||
$('topicLink').addEvent('click', function(event) {
|
$('topicLink').addEvent('click', function(event) {
|
||||||
designer.addLink2SelectedNode();
|
designer.addLink2SelectedNode();
|
||||||
|
|
||||||
@ -321,7 +321,7 @@ function afterMindpotLibraryLoading()
|
|||||||
designer.setStyle2SelectedNode();
|
designer.setStyle2SelectedNode();
|
||||||
});
|
});
|
||||||
|
|
||||||
/*var colorPicker3 = new MooRainbow('fontColor', {
|
var colorPicker3 = new MooRainbow('fontColor', {
|
||||||
id: 'fontColor',
|
id: 'fontColor',
|
||||||
imgPath: '../images/',
|
imgPath: '../images/',
|
||||||
startColor: [255, 255, 255],
|
startColor: [255, 255, 255],
|
||||||
@ -335,7 +335,7 @@ function afterMindpotLibraryLoading()
|
|||||||
onComplete: function(color) {
|
onComplete: function(color) {
|
||||||
removeCurrentColorPicker.attempt(colorPicker3, context);
|
removeCurrentColorPicker.attempt(colorPicker3, context);
|
||||||
}
|
}
|
||||||
});*/
|
});
|
||||||
|
|
||||||
// Save event handler ....
|
// Save event handler ....
|
||||||
var saveButton = $('saveButton');
|
var saveButton = $('saveButton');
|
||||||
|
Loading…
Reference in New Issue
Block a user