Keep fixing issues.
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<!--[if lt IE 9]>
|
||||
<meta http-equiv="X-UA-Compatible" content="chrome=1">
|
||||
<![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 -->
|
||||
<meta http-equiv="Content-type" content="text/html; charset=UTF-8"/>
|
||||
<title>WiseMapping - Editor </title>
|
||||
@@ -33,13 +33,12 @@
|
||||
|
||||
//Google-Brix framework load callback function
|
||||
collabOnLoad = function() {
|
||||
isGoogleBrix = true;
|
||||
$(document).fireEvent('loadcomplete', 'brix');
|
||||
};
|
||||
|
||||
var brixReady = false;
|
||||
var mindReady = false;
|
||||
var local = true;
|
||||
var local = false;
|
||||
$(document).addEvent('loadcomplete', function(resource) {
|
||||
brixReady = resource == 'brix' ? true : brixReady;
|
||||
mindReady = resource == 'mind' ? true : mindReady;
|
||||
@@ -53,10 +52,9 @@
|
||||
|
||||
mindplot.collaboration.framework.brix.BrixFramework.init(function() {
|
||||
var manager = mindplot.collaboration.CollaborationManager.getInstance();
|
||||
if (manager.isCollaborativeFrameworkReady()) {
|
||||
var mindmap = manager.buildWiseModel();
|
||||
designer.loadMap(mindmap);
|
||||
}
|
||||
var mindmap = manager.buildMindmap();
|
||||
designer.loadMap(mindmap);
|
||||
|
||||
// If not problem has arisen, close the dialog ...
|
||||
if (!window.hasUnexpectedErrors) {
|
||||
waitDialog.deactivate();
|
||||
|
Reference in New Issue
Block a user