mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 22:27:55 +01:00
Minor fix.
This commit is contained in:
parent
dbed45c802
commit
6871f88cbb
@ -25,8 +25,8 @@ mindplot.MindmapDesigner = new Class({
|
|||||||
|
|
||||||
// Dispatcher manager ...
|
// Dispatcher manager ...
|
||||||
var commandContext = new mindplot.CommandContext(this);
|
var commandContext = new mindplot.CommandContext(this);
|
||||||
this._actionDispatcher = new mindplot.BrixActionDispatcher(commandContext);
|
// this._actionDispatcher = new mindplot.BrixActionDispatcher(commandContext);
|
||||||
// this._actionDispatcher = new mindplot.LocalActionDispatcher(commandContext);
|
this._actionDispatcher = new mindplot.LocalActionDispatcher(commandContext);
|
||||||
this._actionDispatcher.addEvent("modelUpdate", function(event) {
|
this._actionDispatcher.addEvent("modelUpdate", function(event) {
|
||||||
this.fireEvent("modelUpdate", event);
|
this.fireEvent("modelUpdate", event);
|
||||||
}.bind(this));
|
}.bind(this));
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<!--[if lt IE 9]>
|
<!--[if lt IE 9]>
|
||||||
<meta http-equiv="X-UA-Compatible" content="chrome=1">
|
<meta http-equiv="X-UA-Compatible" content="chrome=1">
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
<script type="text/javascript" src="http://docs.google.com/brix/static/api/js/jsapi.nocache.js"></script>
|
<!--<script type="text/javascript" src="http://docs.google.com/brix/static/api/js/jsapi.nocache.js"></script>-->
|
||||||
<!-- Internet Explorer 8 Hack -->
|
<!-- Internet Explorer 8 Hack -->
|
||||||
<meta http-equiv="Content-type" content="text/html; charset=UTF-8"/>
|
<meta http-equiv="Content-type" content="text/html; charset=UTF-8"/>
|
||||||
<title>WiseMapping - Editor </title>
|
<title>WiseMapping - Editor </title>
|
||||||
@ -39,7 +39,7 @@
|
|||||||
|
|
||||||
var brixReady = false;
|
var brixReady = false;
|
||||||
var mindReady = false;
|
var mindReady = false;
|
||||||
var local = false;
|
var local = true;
|
||||||
$(document).addEvent('loadcomplete', function(resource) {
|
$(document).addEvent('loadcomplete', function(resource) {
|
||||||
brixReady = resource == 'brix' ? true : brixReady;
|
brixReady = resource == 'brix' ? true : brixReady;
|
||||||
mindReady = resource == 'mind' ? true : mindReady;
|
mindReady = resource == 'mind' ? true : mindReady;
|
||||||
|
@ -165,10 +165,6 @@ function buildDesigner() {
|
|||||||
width: parseInt(window.innerWidth)
|
width: parseInt(window.innerWidth)
|
||||||
});
|
});
|
||||||
|
|
||||||
if (!mindplot.collaboration.CollaborationManager.getInstance().isCollaborationFrameworkAvailable()) {
|
|
||||||
loadSingleModel(designer);
|
|
||||||
}
|
|
||||||
|
|
||||||
var menu = new mindplot.widget.Menu(designer, 'toolbar');
|
var menu = new mindplot.widget.Menu(designer, 'toolbar');
|
||||||
|
|
||||||
// If a node has focus, focus can be move to another node using the keys.
|
// If a node has focus, focus can be move to another node using the keys.
|
||||||
|
Loading…
Reference in New Issue
Block a user