projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
555e9ec
)
MaterialComponents: flash
author
Sven Schöling
<s.schoeling@googlemail.com>
Fri, 14 May 2021 16:08:35 +0000
(18:08 +0200)
committer
Sven Schöling
<s.schoeling@googlemail.com>
Fri, 25 Jun 2021 13:51:32 +0000
(15:51 +0200)
js/kivi.Materialize.js
patch
|
blob
|
history
diff --git
a/js/kivi.Materialize.js
b/js/kivi.Materialize.js
index
006f8ac
..
3262ffa
100644
(file)
--- a/
js/kivi.Materialize.js
+++ b/
js/kivi.Materialize.js
@@
-66,6
+66,10
@@
namespace("kivi.Materialize", function(ns) {
};
};
+ ns.flash = function(text) {
+ M.toast({html: text});
+ };
+
ns.reinit_widgets = function() {
$('.sidenav').sidenav();
$('select').formSelect();