mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-15 11:07:57 +01:00
Enable JS error reporting.
This commit is contained in:
parent
4f075ca689
commit
c8ceec18bf
@ -97,8 +97,7 @@ function buildDesigner(options) {
|
||||
}
|
||||
};
|
||||
|
||||
// @Todo: Remove this after all is fixed.
|
||||
// window.onerror = onerrorFn;
|
||||
window.onerror = onerrorFn;
|
||||
|
||||
// Configure default persistence manager ...
|
||||
var persistence;
|
||||
@ -121,7 +120,7 @@ function buildDesigner(options) {
|
||||
|
||||
// If a node has focus, focus can be move to another node using the keys.
|
||||
designer._cleanScreen = function () {
|
||||
menu.clear()
|
||||
menu.clear();
|
||||
};
|
||||
}
|
||||
|
||||
@ -156,7 +155,15 @@ function loadDesignerOptions(jsonConf) {
|
||||
height: parseInt(window.innerHeight - 70), // Footer and Header
|
||||
width: parseInt(window.innerWidth)
|
||||
};
|
||||
result = {readOnly:false, zoom:0.85, saveOnLoad:true, size:containerSize, viewPort:viewPort, container:'mindplot', locale:'en'};
|
||||
result = {
|
||||
readOnly: false,
|
||||
zoom: 0.85,
|
||||
saveOnLoad: true,
|
||||
size: containerSize,
|
||||
viewPort: viewPort,
|
||||
container: 'mindplot',
|
||||
locale: 'en'
|
||||
};
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user