aboutsummaryrefslogtreecommitdiffhomepage
path: root/main/app/sprinkles/core/assets/userfrosting
diff options
context:
space:
mode:
authorMarvin Borner2018-04-28 18:19:14 +0200
committerMarvin Borner2018-04-28 18:19:14 +0200
commit622c10d13f696b93dc63e48677a87fd5b2371421 (patch)
treeaf40a6be0e17e41983244e12821ea88032f8edc5 /main/app/sprinkles/core/assets/userfrosting
parentbbe609e74ff25e474945d9ff30b0d0e68fef091a (diff)
Added animations and fixed several bugs
Diffstat (limited to 'main/app/sprinkles/core/assets/userfrosting')
-rw-r--r--main/app/sprinkles/core/assets/userfrosting/js/uf-alerts.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/app/sprinkles/core/assets/userfrosting/js/uf-alerts.js b/main/app/sprinkles/core/assets/userfrosting/js/uf-alerts.js
index 77f35c7..98fbea0 100644
--- a/main/app/sprinkles/core/assets/userfrosting/js/uf-alerts.js
+++ b/main/app/sprinkles/core/assets/userfrosting/js/uf-alerts.js
@@ -128,6 +128,7 @@
_fetchSuccess: function (alerts) {
if (alerts != null) this.alerts = $.merge(this.alerts, alerts);
this.$element.trigger('fetch.' + this._name);
+ console.log("[ALERT LOGGER] FETCHED ALERTS");
},
/**
* Failure callback for fetch
@@ -152,6 +153,7 @@
message: options[1]
});
+ console.log("[ALERT LOGGER] PUSHED ALERT");
return this.$element;
},
/**
@@ -166,6 +168,7 @@
$.when(this._newAlertsPromise).then(this._render.bind(this));
}
+ console.log("[ALERT LOGGER] RENDERED ALERT");
return this.$element;
},
/*
@@ -256,6 +259,7 @@
// Remove plugin from element
this.$element.removeData(this._name);
+ console.log("[ALERT LOGGER] DESTROYED ALERT INSTANCE");
return this.$element;
}
});