Commit Graph

39 Commits

Author SHA1 Message Date
Nathan Gray
88a967371d Set autocomplete attribute so browsers can put the data in the right place (fixes problem with autofill went into address line 2) 2015-09-09 14:20:14 +00:00
Ralf Becker
caa1f2247d onkeypress handler for textbox and number widget 2015-03-19 21:21:29 +00:00
Ralf Becker
12c308cd71 backport of several eT2 fixes from work on ranking / result-service app:
r52153: implement part attribute with values "header" and "footer" to put rows in thead or tfoot instead of tbody of table
r52163: stop etemplate_widget_template::instance from returning a stdClass object for a not found template after content-expanding, leading to a fatal error in etemplate_widget line 338
r52175: there should be no validation for disabled widgets
r52176: $cont is NOT root but current name-space in old eTemplate, leaving now identical $_cont for now
r52194: fixed eT2 data returned from client for case where name-space contains more then one component eg. "nm[rows]"
r52195: fixed not run validation on server-side for templates included via template tag
r52196: implement formatting of numbers in read-only widget
2015-03-18 22:16:15 +00:00
Ralf Becker
1177acd3d3 fix clicking on favorite in filemanager does not work when showing shared files (or any other view then current index-url), thought setting of favorite still fails
r51522: Update favorite GET fallback to use new style of favorite
2015-02-02 17:28:54 +00:00
Ralf Becker
95a85c6cf5 fix clicking on favorite in filemanager does not work when showing shared files (or any other view then current index-url), thought setting of favorite still fails 2015-01-30 16:59:31 +00:00
Ralf Becker
dbdb0b440d missing translation of blur text in textbox 2014-12-08 15:57:06 +00:00
Hadi Nategh
1869e94f84 Popup resize handler enhancement:
- Fix multi-line textbox resizing
- Introduce tab_height to tab widget and remove extra height set on tab containers children
- Let mail compose uses its own resize handling as it deals with some special resizing
2014-12-05 17:29:41 +00:00
Ralf Becker
9b5c68f743 hidden widget to transport content from server to client and back, thought server to client could easier be done by accessing content via content array manager 2014-12-05 08:59:51 +00:00
Hadi Nategh
e8d1c874e6 Implement resize handler callback for widget in order to resize widget properly after the window size changes 2014-12-04 16:38:34 +00:00
Nathan Gray
fb4482afe6 Some more width for custom field textboxes so they're not so small 2014-12-02 22:37:15 +00:00
Ralf Becker
83b6706964 * Timesheet: fix (un)setting project for adding, editing and save&new timesheets
- fixed et2_widget_textbox to update options.blur in set_blur(), as it is used in getValue, also updating input
- fixed et2_widget_linkentry to trigger change event, after reacting to click on X in search
- fixed timesheet to handle ts_project and pm_id in bo (ts_project is always stored in db for searching, even if it contains no custom project name)
- fixed not working change of project in an existing timesheet
- fixed unsetting of project
2014-10-14 15:58:37 +00:00
Ralf Becker
868e5e0a38 adding autocomplete attribute to et2_textbox and et2_passwd and use it in email wizzard/account to stop browser from accidently filling out empty fields 2014-08-21 13:06:17 +00:00
Hadi Nategh
64329c4c0e Add et2_label_empty class to textbox_ro widget if there is no content for the label 2014-07-01 16:18:01 +00:00
Ralf Becker
a45525949b implement clientside validation for textbox, stop complaining about $ in regular expressions of validator and fix attribute name from "preg" to "validator" on server-side 2014-06-05 15:47:23 +00:00
Ralf Becker
11fd61fe8a fixed indention and ide warning about missing docu 2014-01-29 15:55:18 +00:00
Nathan Gray
5c8c51c77d Always set label, avoids label not being set properly in nextmatch 2013-10-08 08:14:24 +00:00
Nathan Gray
52f269717e Fix %s in labels in nextmatch rows 2013-10-08 07:46:44 +00:00
Nathan Gray
0c6f70005a Implement some basic client-side validation (required) 2013-06-26 20:50:10 +00:00
Nathan Gray
0fa6386b1c Avoid XSS by using CSS to keep line breaks intact instead. 2013-06-26 14:11:54 +00:00
Nathan Gray
059e82a01b Change newlines to <br /> in read-only text to preserve multi-line data. 2013-06-25 17:48:48 +00:00
Nathan Gray
94793b7808 Silence some warnings by providing info 2013-06-17 21:22:32 +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
Ralf Becker
4a26ad18c0 fixed whitespace (8 space instead tab) 2013-04-12 09:38:12 +00:00
Nathan Gray
0516d2cc2a If value is available in the constructor, set it there 2013-04-10 12:10:04 +00:00
Nathan Gray
3da0cb09ac Implement legacy way of using a negative size to set a textbox readonly, but still getting an input widget instead of just text 2013-02-05 14:42:23 +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
09542d6327 Ignore some properties to silence warnings 2012-07-11 20:09:15 +00:00
Christian Binder
7d0a964a1e enbable textbox widget for type passwd 2012-06-26 20:37:58 +00:00
Nathan Gray
ceb63d84d7 Remove ! from HTML5 blur 2012-06-13 16:58:12 +00:00
Nathan Gray
d236f4531e Silence warning about missing property 2012-05-08 20:27:38 +00:00
Nathan Gray
ae6809e91e Implement legacy options size & max size 2012-03-26 23:27:53 +00:00
Nathan Gray
3bac2f8cd3 Add integer type, alias of int tag 2012-03-05 16:53:52 +00:00
Nathan Gray
39325533bb Implement detached interface for read only, used by custom fields 2011-10-18 16:04:47 +00:00
Nathan Gray
a33accfdbb If an empty value is passed, make sure text is cleared 2011-10-07 16:58:36 +00:00
Nathan Gray
4e8fe1bb2c Layout & some functionallity for nm header 2011-09-27 00:16:00 +00:00
Andreas Stöckel
5c4c175ce2 Checked IE compatibility; dataview columns now resizes correctly; removed event code from etemplate2.js, use interfaces instead (as done with the 'resize' event) 2011-08-26 09:58:25 +00:00
Nathan Gray
890efd006b Implement blur/placeholder for textbox 2011-08-25 23:39:34 +00:00
Andreas Stöckel
53f4064cdc Added some naming scheme to the js files 2011-08-24 10:18:07 +00:00