Commit Graph

8 Commits

Author SHA1 Message Date
Nathan Gray
ecb972ca66 Etemplate now uses JSON instead of XML for templates on the client side.
XML files are parsed into JSON objects on the server, then sent as JSON.
Etemplate parses the JSON object on the client side instead of the XML file directly.  This is supposed to be faster for IE.
2015-08-18 17:47:40 +00:00
Ralf Becker
730615ce4e log again not found template as error instead of poping up an alert 2015-02-06 17:23:58 +00:00
Ralf Becker
f834ba893b fix 2nd loading of etemplates in IE, which was broken since r51385, because IE can not use in main window cached object, if it was loaded from a now closed popup/iframe
We use now jQuery.ajax() instead of native XMLHTTPRequest object from jQuery object of main-window
2015-01-27 16:53:11 +00:00
Hadi Nategh
8f0dba15fe No need to use Microsoft.XMLDOM for IE anymore, since IE 7+ supports XMLHttpRequest object 2014-07-11 16:07:02 +00:00
Nathan Gray
100c706674 Add an additional condition to check in case the template file is not recognized as XML, and try to parse it 2013-05-22 18:11:41 +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
de2c9756f1 Avoid an additional javascript error in case of 404 2013-02-06 10:47:31 +00:00
Andreas Stöckel
53f4064cdc Added some naming scheme to the js files 2011-08-24 10:18:07 +00:00