}
$($this).trigger('changePage', [page]);
- this.closeView(function () {
+ this.menu.closeView(function () {
$this.pageTransition(page);
$this.zoom.resetZoom();
$this.stats.track(0, page);
}, true);
}
else {
- this.openView(args[1], args[2], args[3], function () {
+ this.menu.openView(args[1], args[2], args[3], function () {
$this.hideSplash();
});
this.zoom.resetZoom();
}
this.wopen(this.datas.url_link, '_blank');
},
- viewMode: function () {
- return $("#view .mview").length > 0;
- },
- openView: function (view, param1, param2, callback) {
- var $this = this;
- this.displayLoader();
- this.resetWaiters();
- setTimeout(function () {
- $this._openView(view, param1, param2, callback);
- }, 20);
- },
+
addWaiter: function (reset) {
if (reset == undefined) {
reset = false;