mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-09-12 07:10:07 +02:00
change old addEvent method call by .on()
This commit is contained in:
parent
fedef3cbac
commit
367a6d7cb7
@ -21,7 +21,7 @@
|
|||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
var mapId = 'welcome';
|
var mapId = 'welcome';
|
||||||
$(document).addEvent('loadcomplete', function(resource) {
|
$(document).on('loadcomplete', function(resource) {
|
||||||
var options = loadDesignerOptions();
|
var options = loadDesignerOptions();
|
||||||
var designer = buildDesigner(options);
|
var designer = buildDesigner(options);
|
||||||
|
|
||||||
@ -32,7 +32,7 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
$(document).addEvent('loadcomplete', function(resource) {
|
$(document).on('loadcomplete', function(resource) {
|
||||||
|
|
||||||
$("dragImageNode").addEvent('mousedown', function(event) {
|
$("dragImageNode").addEvent('mousedown', function(event) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
var mapId = 'welcome';
|
var mapId = 'welcome';
|
||||||
$(document).addEvent('loadcomplete', function(resource) {
|
$(document).on('loadcomplete', function(resource) {
|
||||||
|
|
||||||
// Options has been defined in by a external ile ?
|
// Options has been defined in by a external ile ?
|
||||||
var uri = new URI(window.location);
|
var uri = new URI(window.location);
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
$(document).addEvent('loadcomplete', function (resource) {
|
$(document).on('loadcomplete', function (resource) {
|
||||||
try {
|
try {
|
||||||
var mapId = '${mindmap.id}';
|
var mapId = '${mindmap.id}';
|
||||||
// Configure designer options ...
|
// Configure designer options ...
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var mapId = '${mindmap.id}';
|
var mapId = '${mindmap.id}';
|
||||||
|
|
||||||
$(document).addEvent('loadcomplete', function (resource) {
|
$(document).on('loadcomplete', function (resource) {
|
||||||
|
|
||||||
// Configure designer options ...
|
// Configure designer options ...
|
||||||
var options = loadDesignerOptions();
|
var options = loadDesignerOptions();
|
||||||
|
@ -60,7 +60,7 @@
|
|||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var mapId = '${mindmap.id}';
|
var mapId = '${mindmap.id}';
|
||||||
|
|
||||||
$(document).addEvent('loadcomplete', function (resource) {
|
$(document).on('loadcomplete', function (resource) {
|
||||||
|
|
||||||
// Configure designer options ...
|
// Configure designer options ...
|
||||||
var options = loadDesignerOptions();
|
var options = loadDesignerOptions();
|
||||||
|
Loading…
Reference in New Issue
Block a user