|
@@ -163,9 +163,7 @@ function initFastLoad(_parent = false) {
|
|
|
$(_a)
|
|
|
.off('click.fast-load')
|
|
|
.on('click.fast-load', function () {
|
|
|
- console.log('ALIX: got click!');
|
|
|
showMask();
|
|
|
- console.log('ALIX: showed mask');
|
|
|
fastLoad(this.href, true, true);
|
|
|
$('.dropdown-menu[aria-labelledby="practice-management"]')
|
|
|
.removeClass('show')
|
|
@@ -176,13 +174,13 @@ function initFastLoad(_parent = false) {
|
|
|
}
|
|
|
|
|
|
// fast cache
|
|
|
- allAs = $('a[href]:not([onclick]):not([href="#"])');
|
|
|
- allAs.each(function () {
|
|
|
- var a = this;
|
|
|
- $.get(a.href, function (_data) {
|
|
|
- fastCache[a.href] = _data;
|
|
|
- });
|
|
|
- });
|
|
|
+ // allAs = $('a[href]:not([onclick]):not([href="#"])');
|
|
|
+ // allAs.each(function () {
|
|
|
+ // var a = this;
|
|
|
+ // $.get(a.href, function (_data) {
|
|
|
+ // fastCache[a.href] = _data;
|
|
|
+ // });
|
|
|
+ // });
|
|
|
|
|
|
}
|
|
|
|