|
@@ -28,6 +28,10 @@ var tarteaucitron = {
|
|
"parameters": {},
|
|
"parameters": {},
|
|
"isAjax": false,
|
|
"isAjax": false,
|
|
"reloadThePage": false,
|
|
"reloadThePage": false,
|
|
|
|
+ "events": {
|
|
|
|
+ "init": function () {},
|
|
|
|
+ "load": function () {},
|
|
|
|
+ },
|
|
"init": function (params) {
|
|
"init": function (params) {
|
|
"use strict";
|
|
"use strict";
|
|
var origOpen;
|
|
var origOpen;
|
|
@@ -190,6 +194,10 @@ var tarteaucitron = {
|
|
};
|
|
};
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ if(tarteaucitron.events.init) {
|
|
|
|
+ tarteaucitron.events.init();
|
|
|
|
+ }
|
|
},
|
|
},
|
|
"load": function () {
|
|
"load": function () {
|
|
"use strict";
|
|
"use strict";
|
|
@@ -481,6 +489,10 @@ var tarteaucitron = {
|
|
}
|
|
}
|
|
});
|
|
});
|
|
});
|
|
});
|
|
|
|
+
|
|
|
|
+ if(tarteaucitron.events.load) {
|
|
|
|
+ tarteaucitron.events.load();
|
|
|
|
+ }
|
|
},
|
|
},
|
|
"addService": function (serviceId) {
|
|
"addService": function (serviceId) {
|
|
"use strict";
|
|
"use strict";
|