restoring color chooser

This commit is contained in:
Pablo Luna 2011-01-23 17:27:03 -03:00
parent cbdc1679db
commit 2b81b71cb4

View File

@ -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');