Ralf Becker
|
aa31a8705f
|
fixing scope of "use strict", so we do not need to remove it when concatinating our scripts like we do now with minjs
|
2016-02-29 20:40:43 +00:00 |
|
Ralf Becker
|
25b3493767
|
add missing "rawstring" type to et2_validTypes
|
2015-03-11 15:06:06 +00:00 |
|
Ralf Becker
|
f3869d366e
|
new attribute type "rawstring" not doing html-entity decoding used just for "value" attribute
|
2015-03-11 12:12:52 +00:00 |
|
Nathan Gray
|
4d34079576
|
Some more type checking before use to avoid errors
|
2014-12-11 18:02:08 +00:00 |
|
Ralf Becker
|
36699ed54b
|
fix javascript error stalling Home for _val===undefined
|
2014-12-11 17:02:52 +00:00 |
|
Ralf Becker
|
012eee4594
|
fix javascript error stalling Home for _val===undefined
|
2014-12-11 16:59:46 +00:00 |
|
Hadi Nategh
|
7c3f8d10d6
|
Missing code from commit r49612
|
2014-11-27 17:29:44 +00:00 |
|
Ralf Becker
|
d4bb8a00a9
|
move et2_call method to egw.js to have it always available at window scope (it is NOT et2 specific), maybe we find a better/nicer place for it
|
2014-06-23 08:10:40 +00:00 |
|
Ralf Becker
|
0b6fa2785b
|
allow to use numbers for attributes of type string, silently convert them to strings, fixes not working blur values for quantity in timesheet
|
2014-06-12 08:25:31 +00:00 |
|
Nathan Gray
|
fa8963c8b4
|
Consider "0" (string zero) equal to false instead of true, as some PHP values come as strings.
|
2014-06-09 19:27:02 +00:00 |
|
Ralf Becker
|
c6fe901b56
|
fixed infinit loop, if string to active starts with url right away, eg. "https://domain.com/"
|
2014-06-03 07:22:34 +00:00 |
|
Nathan Gray
|
1c6abab9a8
|
Fix link activation to be able to handle the same link (or email address) multiple times in the content
|
2014-03-12 18:28:47 +00:00 |
|
Ralf Becker
|
6cdea51c9e
|
when activating mailto-links/email addresses use mail app unless (addressbook-)preference says otherwise
|
2014-03-06 10:42:37 +00:00 |
|
Ralf Becker
|
bd7980f0e8
|
new attribute type "html", which is NOT run through (tags removing) html_entity_decode, used for value in et2_html(area)
|
2014-02-14 10:14:28 +00:00 |
|
Ralf Becker
|
6df2fa827d
|
fixed not working options for readonly radiobutton eg. "something,♥": missing legacyOptions for et2_radionbox_ro and no entity_decoding from attributes in template (they require it because of xml)
|
2014-02-13 17:29:02 +00:00 |
|
Ralf Becker
|
65c3f50923
|
instanciate app.js object, if not yet done
|
2014-02-13 15:59:31 +00:00 |
|
Ralf Becker
|
ace95f26b0
|
fixed not expanded onchange attribute, if widget type need to be expanded too, eg. log-viewer in CalDAV or eSync preferences
|
2014-01-27 21:59:29 +00:00 |
|
Nathan Gray
|
33a7534299
|
Include offending widget in attribute type mismatch warning
|
2013-10-10 14:52:48 +00:00 |
|
Nathan Gray
|
398a8eed25
|
Event handler attributes:
- default to et2_no_init so they don't get processed if not set
- remove some duplication in attributes
|
2013-10-10 13:17:07 +00:00 |
|
Ralf Becker
|
0163442f37
|
changed signature of on* event handlers: 1. event, 2. widget (context is DOM node), event handlers have now type "js" in attribute description and get automatic converted to a function, no more need to call et2_compileLegacyJS
|
2013-10-09 14:35:03 +00:00 |
|
Nathan Gray
|
36b5590882
|
Fix wrong argument order to jQuery.proxy()
|
2013-07-19 12:37:47 +00:00 |
|
Nathan Gray
|
5b5a3ad58f
|
Fix copy-paste error in js attribute check
|
2013-07-19 10:55:07 +00:00 |
|
Ralf Becker
|
3a14e96d1a
|
allow to use hierarchical function names, eg. app.filemanager.upload via new et2_call function
|
2013-04-20 19:21:42 +00:00 |
|
Nathan Gray
|
4239b83bd0
|
Add not implemented js function type. It understands app.appname.function style arguments
|
2013-04-16 18:44:43 +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
|
cf32147cc2
|
Avoid an error if we try to csv_split() null
|
2013-03-20 16:18:53 +00:00 |
|
Nathan Gray
|
76644166e8
|
Only warn about attribute type mismatch if there is a value
|
2013-02-14 15:56:19 +00:00 |
|
Ralf Becker
|
2940e57b11
|
no need to generate a link, if there is no content in it, instead of displaying "-missing-"
|
2013-02-05 12:32:57 +00:00 |
|
Nathan Gray
|
d65066341b
|
Fix some more attribute issues, silenceing some attribute warnings
|
2012-07-25 22:37:56 +00:00 |
|
Nathan Gray
|
fa69637b82
|
Silence some warnings, mostly about attributes
|
2012-07-23 23:54:16 +00:00 |
|
Nathan Gray
|
e88585c8e0
|
Implement legacy options for link-entry - lets infolog parent work
|
2012-04-04 20:17:38 +00:00 |
|
Andreas Stöckel
|
34a43e8869
|
Various bug fixes in the grid, implemented prefetching, workaround for performance issues regarding update, removed _lastModification
|
2012-03-26 15:28:02 +00:00 |
|
Andreas Stöckel
|
a9c1112dc1
|
New dataview version and integration into the nextmatch widget
|
2012-03-23 12:20:57 +00:00 |
|
Nathan Gray
|
8bc924699f
|
More informative error message - include wrong value and possible correct options
|
2012-03-21 21:27:54 +00:00 |
|
Nathan Gray
|
f17860431a
|
Don't try to split numbers
|
2012-03-15 23:15:01 +00:00 |
|
Andreas Stöckel
|
3287ac7286
|
Fixed typo
|
2012-03-12 13:52:32 +00:00 |
|
Andreas Stöckel
|
a9967f678d
|
Displaying linebreaks for description tags
|
2012-03-12 13:41:10 +00:00 |
|
Nathan Gray
|
9a0948f6fb
|
More detailed error messages
|
2012-03-07 22:55:02 +00:00 |
|
Andreas Stöckel
|
c0db2e36a9
|
Fixed a lot of problems regarding centralized JavaScript code; et2_dataview_view_resizeable is current WIP; now building etemplate2 DOM-Tree to a DocumentFragment first, which brings a significant performance gain
|
2012-03-07 15:33:21 +00:00 |
|
Andreas Stöckel
|
e4ed4399cf
|
Attempt of fixing legacy JavaScript functions, only tested for simple cases
|
2012-03-06 15:26:11 +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 |
|
Nathan Gray
|
ba2688f66d
|
Fix egw::lang() processing in string js
|
2011-11-09 20:15:12 +00:00 |
|
Nathan Gray
|
9ea341151f
|
Handle if string to be parsed is missing too
|
2011-10-17 16:08:34 +00:00 |
|
Nathan Gray
|
a09c277ae7
|
Log a warning if et2_insertLinkText is called without a node
|
2011-10-12 16:34:52 +00:00 |
|
Nathan Gray
|
9b7cd5019c
|
Silence some messages about missing attribute attributes
|
2011-09-27 23:44:07 +00:00 |
|
Nathan Gray
|
7297e02f39
|
Get some buttons working in nm. Not quite done yet, only buttons with onclick function working
|
2011-09-21 21:07:21 +00:00 |
|
Nathan Gray
|
0b41f9da89
|
Target text could also be a number, treat it the same as string
|
2011-09-15 17:51:21 +00:00 |
|
Ralf Becker
|
2aff9d170b
|
implementation of old server etemplate::js_pseudo_funcs() on client as et2_js_pseudo_funcs, thought we need to pass the namespace to et2_checkType!!!
|
2011-09-10 13:16:40 +00:00 |
|
Ralf Becker
|
387be881ee
|
egw.link(_url, _vars) method and using it for JS event handler
|
2011-09-09 19:41:09 +00:00 |
|