Commit Graph

24 Commits

Author SHA1 Message Date
Nathan Gray
3cfbcc8cf1 Trigger a load event when the template is loaded, to make it easier to work with the template when it is loaded from the server 2013-09-19 19:31:56 +00:00
Ralf Becker
b6013305f7 always replace dots with dashes in DOM id 2013-08-29 12:10:06 +00:00
Ralf Becker
020d6d9394 replace all . 2013-08-28 14:43:27 +00:00
Ralf Becker
a74795387e replace . in template-ids with - to simplify css usage, as we do it the unique id already 2013-08-28 14:24:01 +00:00
Nathan Gray
4d13f3170f Can't forget to reset the ID (template name), or it might not be able to load the template 2013-06-03 23:05:02 +00:00
Nathan Gray
aeeb3e9469 Silence one warning by providing an attribute definition 2013-05-29 19:08:00 +00:00
Nathan Gray
57d6132a37 Actually use template attribute when provided 2013-05-06 17:36:37 +00:00
Ralf Becker
e64c4fbd04 add some JSDoc so Eclipse shows an outline: @memberOf and @augments (not yet understood by Eclipse), also fixed many warnings (mostly missing semicolons) 2013-04-13 19:00:13 +00:00
Nathan Gray
cd0356219c Add some missing attribute attributes 2013-04-09 07:22:35 +00:00
Nathan Gray
3142b9fd1f Fix templates creating unwanted namespaces 2013-03-20 16:16:12 +00:00
Nathan Gray
9ae89a0844 Fix missing data in named sub-templates 2013-03-19 22:53:51 +00:00
Nathan Gray
bbfcb19ab8 Fix so namespaces work even without content data 2013-02-05 12:55:01 +00:00
Nathan Gray
0fa5e2ee49 Make sure there's a template name before requesting it from server 2012-07-23 23:51:47 +00:00
Nathan Gray
9365cf8363 Request unknown templates from the server 2012-07-09 21:29:02 +00:00
Nathan Gray
d44fed908c Use correct debug tag - info does not exist 2012-06-18 22:44:00 +00:00
Nathan Gray
7e92918f9e Add support for 'content' attribute, to create namespace for template using something other than its ID 2012-05-24 21:36:03 +00:00
Nathan Gray
11fe571e65 Instanciate the instance for the app based on template name when loading 2012-03-20 21:42:25 +00:00
Nathan Gray
0aa4c66803 Don't proxy template, just don't load it until asked for 2012-03-14 21:27:23 +00:00
Andreas Stöckel
049cbd88dc Now using the etemplate code from the root instance (etemplate2.js acts as a egw api plugin); fixed egw.json plugins; fixed problem with 'instanceof Object', which does not work when sharing code over multiple windows 2012-03-06 13:22:01 +00:00
Andreas Stöckel
d310b14ecf Client side API now supports modules which are instanciated per application or per window; removed et2_debug function from et2_core_common, now using corresponding API function. 2012-03-05 13:07:38 +00:00
Andreas Stöckel
14e6ceecb6 Integrated application specifig egw api into etemplate2 code 2012-03-02 10:44:56 +00:00
Andreas Stöckel
4440b4cd02 Fixed problem with rebuilding the template after a submit not working correctly 2012-03-01 10:13:12 +00:00
Nathan Gray
9b7cd5019c Silence some messages about missing attribute attributes 2011-09-27 23:44:07 +00:00
Andreas Stöckel
53f4064cdc Added some naming scheme to the js files 2011-08-24 10:18:07 +00:00