aboutsummaryrefslogtreecommitdiff
path: root/data/stuff/js
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2016-04-02 01:09:45 -0400
committerPaul Duncan <pabs@pablotron.org>2016-04-02 01:09:45 -0400
commit23ba337de24e88c6aaf6ceb37507997f5c5f4920 (patch)
treef5a6fc8d925dafd62ee45973b4e357234ea9ec9a /data/stuff/js
parent7788012457346ae59fa58ed35fc08aa2b9e6b9ef (diff)
downloadold-guff-23ba337de24e88c6aaf6ceb37507997f5c5f4920.tar.bz2
old-guff-23ba337de24e88c6aaf6ceb37507997f5c5f4920.zip
fully working edit dialog
Diffstat (limited to 'data/stuff/js')
-rw-r--r--data/stuff/js/util.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/data/stuff/js/util.js b/data/stuff/js/util.js
index a6826db..c021499 100644
--- a/data/stuff/js/util.js
+++ b/data/stuff/js/util.js
@@ -9,4 +9,8 @@ jQuery(function($) {
data: args,
});
};
+
+ LuigiTemplate.FILTERS.json = function(val) {
+ return JSON.stringify(val);
+ };
});