js: Make helptexts easy to render from js62/862/1
commit932c8981b7a62ec1f2cb8478e2adf13d1c6f8fc6
authorRobin Sonefors <robin.sonefors@op5.com>
Tue, 8 Jul 2014 11:53:44 +0000 (8 13:53 +0200)
committerRobin Sonefors <robin.sonefors@op5.com>
Tue, 8 Jul 2014 11:58:40 +0000 (8 13:58 +0200)
treeab5daf4f1df2d7099631ef2c312ee3f1436c5dc7
parent3a96f4d533c76e020e3530d3ebfee44bdf809ace
js: Make helptexts easy to render from js

That means a tiny refactoring of some of the common.js code.

While I'm at it, use modern data attributes instead of adding
randomness to an id parameter.

Change-Id: Ie98eff782b90a23984fb3b1a6b7cf29d581d829a
Signed-off-by: Robin Sonefors <robin.sonefors@op5.com>
application/helpers/help.php
application/views/js/common.js
modules/lsfilter/media/js/lib.js