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