Minor fixes.

This commit is contained in:
Paulo Veiga 2011-08-25 22:33:58 -03:00
parent c4cd24744a
commit 421cbdbb61
2 changed files with 15 additions and 21 deletions

View File

@ -47,6 +47,7 @@
</goals> </goals>
<configuration> <configuration>
<tasks> <tasks>
<mkdir dir="${basedir}/target/classes"/> <mkdir dir="${basedir}/target/classes"/>
<concat destfile="${basedir}/target/tmp/mindplot.js" append="false"> <concat destfile="${basedir}/target/tmp/mindplot.js" append="false">
<filelist dir="${basedir}/src/main/javascript/" files="header.js"/> <filelist dir="${basedir}/src/main/javascript/" files="header.js"/>
@ -85,19 +86,14 @@
<filelist dir="${basedir}/src/main/javascript/" files="FixedDistanceBoard.js"/> <filelist dir="${basedir}/src/main/javascript/" files="FixedDistanceBoard.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="BoardEntry.js"/> <filelist dir="${basedir}/src/main/javascript/" files="BoardEntry.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="ModelCodeName.js"/> <filelist dir="${basedir}/src/main/javascript/" files="ModelCodeName.js"/>
<filelist dir="${basedir}/src/main/javascript/" <filelist dir="${basedir}/src/main/javascript/" files="XMLMindmapSerializer_Pela.js"/>
files="XMLMindmapSerializer_Pela.js"/> <filelist dir="${basedir}/src/main/javascript/" files="XMLMindmapSerializer_Beta.js"/>
<filelist dir="${basedir}/src/main/javascript/"
files="XMLMindmapSerializer_Beta.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="Beta2PelaMigrator.js"/> <filelist dir="${basedir}/src/main/javascript/" files="Beta2PelaMigrator.js"/>
<filelist dir="${basedir}/src/main/javascript/" <filelist dir="${basedir}/src/main/javascript/" files="XMLMindmapSerializerFactory.js"/>
files="XMLMindmapSerializerFactory.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="PersistanceManager.js"/> <filelist dir="${basedir}/src/main/javascript/" files="PersistanceManager.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="EditorProperties.js"/> <filelist dir="${basedir}/src/main/javascript/" files="EditorProperties.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="IconGroup.js"/> <filelist dir="${basedir}/src/main/javascript/" files="IconGroup.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="BubbleTip.js"/> <filelist dir="${basedir}/src/main/javascript/" files="BubbleTip.js"/>
<filelist dir="${basedir}/src/main/javascript/widget/" files="EditNoteDialog.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="Icon.js"/> <filelist dir="${basedir}/src/main/javascript/" files="Icon.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="LinkIcon.js"/> <filelist dir="${basedir}/src/main/javascript/" files="LinkIcon.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="Note.js"/> <filelist dir="${basedir}/src/main/javascript/" files="Note.js"/>
@ -111,14 +107,11 @@
<filelist dir="${basedir}/src/main/javascript/" files="DesignerUndoManager.js"/> <filelist dir="${basedir}/src/main/javascript/" files="DesignerUndoManager.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="ControlPoint.js"/> <filelist dir="${basedir}/src/main/javascript/" files="ControlPoint.js"/>
<filelist dir="${basedir}/src/main/javascript/" files="EditorOptions.js"/> <filelist dir="${basedir}/src/main/javascript/" files="EditorOptions.js"/>
<filelist dir="${basedir}/src/main/javascript/"
files="commands/GenericFunctionCommand.js"/> <filelist dir="${basedir}/src/main/javascript/commands/" files="GenericFunctionCommand.js"/>
<filelist dir="${basedir}/src/main/javascript/" <filelist dir="${basedir}/src/main/javascript/commands/" files="DeleteCommand.js"/>
files="commands/DeleteCommand.js"/> <filelist dir="${basedir}/src/main/javascript/commands/" files="DragTopicCommand.js"/>
<filelist dir="${basedir}/src/main/javascript/" <filelist dir="${basedir}/src/main/javascript/commands/" files="AddTopicCommand.js"/>
files="commands/DragTopicCommand.js"/>
<filelist dir="${basedir}/src/main/javascript/"
files="commands/AddTopicCommand.js"/>
<filelist dir="${basedir}/src/main/javascript/" <filelist dir="${basedir}/src/main/javascript/"
files="commands/AddLinkToTopicCommand.js"/> files="commands/AddLinkToTopicCommand.js"/>
<filelist dir="${basedir}/src/main/javascript/" <filelist dir="${basedir}/src/main/javascript/"
@ -175,8 +168,10 @@
<filelist dir="${basedir}/src/main/javascript/" <filelist dir="${basedir}/src/main/javascript/"
files="collaboration/frameworks/brix/BrixFramework.js"/> files="collaboration/frameworks/brix/BrixFramework.js"/>
<filelist dir="${basedir}/src/main/javascript/" <filelist dir="${basedir}/src/main/javascript/widget/" files="ToolbarItem.js"/>
files="widget/ToolbarItem.js"/>
<filelist dir="${basedir}/src/main/javascript/widget/" files="EditNoteDialog.js"/>
<filelist dir="${basedir}/src/main/javascript/" <filelist dir="${basedir}/src/main/javascript/"
files="widget/ColorPickerPanel.js"/> files="widget/ColorPickerPanel.js"/>
<filelist dir="${basedir}/src/main/javascript/" <filelist dir="${basedir}/src/main/javascript/"

View File

@ -27,15 +27,14 @@ mindplot.widget.EditNoteDialog = new Class({
_buildPanel : function (model) { _buildPanel : function (model) {
var result = new Element('div'); var result = new Element('div');
var text = new Element('div').inject(result);
var form = new Element('form', {'action': 'none', 'id':'noteFormId'}); var form = new Element('form', {'action': 'none', 'id':'noteFormId'});
// Add textarea ... // Add textarea ...
var textArea = new Element('textarea', {placeholder: 'Add your note here ...'}); var textArea = new Element('textarea', {placeholder: 'Write your note here ...'});
if (model.getValue() != null) if (model.getValue() != null)
textArea.value = model.getValue(); textArea.value = model.getValue();
textArea.setStyles({'width':280, 'height':70}); textArea.setStyles({'width':280, 'height':65});
textArea.inject(form); textArea.inject(form);
// Add buttons ... // Add buttons ...