Remove moodialog

Re-implementing message dialog.
Fix several imports.
This commit is contained in:
Paulo Gustavo Veiga
2014-02-19 03:34:12 -03:00
parent 832fe4e957
commit dfd5da684b
20 changed files with 13 additions and 731 deletions

View File

@@ -11,6 +11,7 @@
<![endif]-->
<link rel="stylesheet/less" type="text/css" href="css/editor.less"/>
<script type='text/javascript' src='js/jquery.js'></script>
<script type='text/javascript' src='js/mootools-core.js'></script>
<script type='text/javascript' src='js/core.js'></script>
<script type='text/javascript' src='js/less.js'></script>
@@ -20,7 +21,7 @@
<script type="text/javascript">
var mapId = 'welcome';
$(document).addEvent('loadcomplete', function(resource) {
document.id(document).addEvent('loadcomplete', function(resource) {
var options = loadDesignerOptions();
var designer = buildDesigner(options);

View File

@@ -10,6 +10,7 @@
<![endif]-->
<link rel="stylesheet/less" type="text/css" href="css/embedded.less"/>
<script type='text/javascript' src='js/jquery.js'></script>
<script type='text/javascript' src='js/mootools-core.js'></script>
<script type='text/javascript' src='js/core.js'></script>
<script type='text/javascript' src='js/less.js'></script>

View File

@@ -20,7 +20,7 @@ var designer = null;
function buildDesigner(options) {
var container = $(options.container);
var container = document.id(options.container);
$assert(container, 'container could not be null');
// Register load events ...
@@ -92,7 +92,7 @@ function buildDesigner(options) {
mindplot.PersistenceManager.init(persistence);
// Register toolbar event ...
if ($('toolbar')) {
if ($('#toolbar')) {
var menu = new mindplot.widget.Menu(designer, 'toolbar', options.mapId, "");
// If a node has focus, focus can be move to another node using the keys.

1
wise-editor/src/main/webapp/js/jquery.js vendored Symbolic link
View File

@@ -0,0 +1 @@
../../../../../mindplot/src/main/javascript/libraries/jquery/jquery-2.1.0.min.js