mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-08-20 04:30:42 +02:00
Fix Firefox issue.
This commit is contained in:
parent
ad13c296ad
commit
f036a7684e
@ -94,6 +94,17 @@ mindplot.DesignerKeyboard = new Class({
|
||||
designer.changeFontWeight();
|
||||
},
|
||||
|
||||
'ctrl+s' : function(event) {
|
||||
event.preventDefault();
|
||||
designer.save(null, true);
|
||||
|
||||
},
|
||||
|
||||
'meta+s' : function(event) {
|
||||
event.preventDefault();
|
||||
designer.save(null, true);
|
||||
},
|
||||
|
||||
'ctrl+i' : function() {
|
||||
designer.changeFontStyle();
|
||||
},
|
||||
|
@ -127,7 +127,7 @@ mindplot.Workspace = new Class({
|
||||
this._screenManager.setScale(zoom);
|
||||
|
||||
// Some changes in the screen. Let's fire an update event...
|
||||
this._screenManager.fireEvent('update', new Event());
|
||||
this._screenManager.fireEvent('update');
|
||||
},
|
||||
|
||||
getScreenManager: function() {
|
||||
@ -180,7 +180,7 @@ mindplot.Workspace = new Class({
|
||||
event.preventDefault();
|
||||
|
||||
// Fire drag event ...
|
||||
screenManager.fireEvent('update', new Event());
|
||||
screenManager.fireEvent('update');
|
||||
wasDragged = true;
|
||||
|
||||
|
||||
@ -202,7 +202,7 @@ mindplot.Workspace = new Class({
|
||||
mWorkspace.enableWorkspaceEvents(true);
|
||||
|
||||
if (!wasDragged) {
|
||||
screenManager.fireEvent('click', new Event());
|
||||
screenManager.fireEvent('click');
|
||||
}
|
||||
};
|
||||
screenManager.addEvent('mouseup', workspace._mouseUpListener);
|
||||
|
@ -13,9 +13,12 @@
|
||||
|
||||
<!--<script type='text/javascript' src='../js/wiseLibrary.js'></script>-->
|
||||
|
||||
<script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/mootools/1.3.2/mootools-yui-compressed.js'></script>
|
||||
<script type='text/javascript'
|
||||
src='https://ajax.googleapis.com/ajax/libs/mootools/1.3.2/mootools-yui-compressed.js'></script>
|
||||
<script type='text/javascript' src='../js/mootools-more-1.3.2.1-yui.js'></script>
|
||||
|
||||
<!--<script type='text/javascript' src='../js/mootools-more-1.3.2.1-yui.js'></script>-->
|
||||
|
||||
<!--<script type='text/javascript' src='../js/common.js'></script>-->
|
||||
<!--<script type='text/javascript' src='../js/windoo.js'></script>-->
|
||||
|
||||
@ -25,8 +28,8 @@
|
||||
<script type="text/javascript">
|
||||
//Google-Brix framework load callback function
|
||||
collabOnLoad = function() {
|
||||
isGoogleBrix=true;
|
||||
if(typeof mindplot != "undefined"){
|
||||
isGoogleBrix = true;
|
||||
if (typeof mindplot != "undefined") {
|
||||
mindplot.collaboration.frameworks.brix.BrixFramework.instanciate();
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user