diff options
author | Maxime Quandalle <maxime@quandalle.com> | 2015-05-27 17:17:00 +0200 |
---|---|---|
committer | Maxime Quandalle <maxime@quandalle.com> | 2015-05-27 17:23:25 +0200 |
commit | dcc64f44f9f81d32c8071c6bdac86546eaeb57a0 (patch) | |
tree | b8977727227a3ddbb2874ea3f86f1e26e03c8835 /client/lib | |
parent | 42f6dc686f313ba294e3cbcfb0ebde50678580fe (diff) | |
download | wekan-dcc64f44f9f81d32c8071c6bdac86546eaeb57a0.tar.gz wekan-dcc64f44f9f81d32c8071c6bdac86546eaeb57a0.tar.bz2 wekan-dcc64f44f9f81d32c8071c6bdac86546eaeb57a0.zip |
UI improvements
* Implement visibility choice on board creation;
* Rework the board header bar. Remove links to un-implemented
features;
* Implement a board star counter (visible if the board have >2 stars);
* Define a new icon (a thin cross) to close elements;
* Remove $(document).on('mouseover') event handlers that were
basically fired hundreds of times for nothing, we now define a proper
Tracker dependency to execute jquery-ui plugin initialization only
when something has changed;
* Bug fixes related to list scrolling.
Diffstat (limited to 'client/lib')
-rw-r--r-- | client/lib/utils.js | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/client/lib/utils.js b/client/lib/utils.js index 7c117d4b..b9954212 100644 --- a/client/lib/utils.js +++ b/client/lib/utils.js @@ -1,23 +1,4 @@ Utils = { - error: function(err) { - Session.set('error', (err && err.message || false)); - }, - - // scroll - Scroll: function(selector) { - var $el = $(selector); - return { - top: function(px, add) { - var t = $el.scrollTop(); - $el.animate({ scrollTop: (add ? (t + px) : px) }); - }, - left: function(px, add) { - var l = $el.scrollLeft(); - $el.animate({ scrollLeft: (add ? (l + px) : px) }); - } - }; - }, - // XXX We should remove these two methods goBoardId: function(_id) { var board = Boards.findOne(_id); |