mirror of
https://github.com/fergalmoran/dss.git
synced 2025-12-25 11:07:35 +00:00
Template updates done
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
// Generated by CoffeeScript 1.6.2
|
||||
(function() {
|
||||
define(['jquery', 'bootstrap', 'toastr'], function($, bootstrap, toastr) {
|
||||
var _this = this;
|
||||
|
||||
return {
|
||||
modal: function(url) {
|
||||
if (url) {
|
||||
@@ -42,6 +40,9 @@
|
||||
return toastr.warning(message, title);
|
||||
},
|
||||
showAlert: function(title, message) {
|
||||
return this.showMessage(title, message);
|
||||
},
|
||||
showMessage: function(title, message) {
|
||||
return toastr.success(message, title);
|
||||
},
|
||||
generateGuid: function() {
|
||||
@@ -65,6 +66,9 @@
|
||||
}
|
||||
iframe.src = url;
|
||||
return true;
|
||||
},
|
||||
isMe: function(id) {
|
||||
return id === com.podnoms.settings.currentUser;
|
||||
}
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user