Commit Graph

45 Commits

Author SHA1 Message Date
Hadi Nategh
4249dca91d * All apps: Activate cross-browser autocomplete 2015-02-06 13:23:40 +00:00
Ralf Becker
85bcd0200d modernized login- and start-message editing a bit 2015-01-09 18:58:23 +00:00
Ralf Becker
5825c8df18 new button attribute "novalidate" to skip validation 2014-05-21 17:24:56 +00:00
Ralf Becker
fb311f3ebf added a et2_button_ro class to all readonly buttons and remove cursor: pointer from et2_button, as it is set in et2_clickable anyway 2014-02-14 10:47:05 +00:00
Ralf Becker
49ffb7a6db fix javascript error: can not call method removeClass of null 2014-02-14 09:35:51 +00:00
Ralf Becker
551dff28e3 fix readonly buttons were clickable: ignoring now click and add/remove et2_clickable (temp. also changing cursor: default/pointer, as et2_button sets cursor: pointer) 2014-02-13 18:41:04 +00:00
Ralf Becker
375854327d adding a css class for cancel, delete or yes/no buttons 2014-02-12 15:17:54 +00:00
Ralf Becker
d627be8763 added a couple more aliases for ids mapping to same image 2014-01-31 11:36:09 +00:00
Ralf Becker
18154600ea assign default (background-)images to buttons based on their id 2014-01-31 11:24:43 +00:00
Nathan Gray
e942a63607 Better handling of buttons with text & image, as well as a default style. 2013-11-25 16:50:20 +00:00
Nathan Gray
c944df738d Make sure button is there before trying to edit its CSS 2013-11-19 21:49:07 +00:00
Nathan Gray
2b7d47fcf7 Add background_image attribute, to allow setting image + label together, using button's background-image CSS 2013-11-18 23:34:52 +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
55dc847f95 Fix bug where images with numbers in their url were not displayed 2013-07-08 19:40:17 +00:00
Nathan Gray
0c6f70005a Implement some basic client-side validation (required) 2013-06-26 20:50:10 +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
34dd94dc76 fixed set_(ro_)image to set the according option and update current image, new method set_readonly updating readonly attribute and current image 2013-04-12 17:19:18 +00:00
Nathan Gray
fa69637b82 Silence some warnings, mostly about attributes 2012-07-23 23:54:16 +00:00
Nathan Gray
ea838035b6 Get submit actions (like Insert in document) working 2012-04-17 22:56:04 +00:00
Nathan Gray
09ac4244cb Don't set image title if there's a tooltip, browser may show both 2012-04-04 20:25:20 +00:00
Nathan Gray
c28b8662f5 Fix buttononly in datagrid, implement legacy options 2012-03-27 15:05:30 +00:00
Nathan Gray
c39b76f8a9 Prevent some warnings about attributes 2012-03-23 19:25:50 +00:00
Nathan Gray
268be2c8b9 Make button onclick work inside nextmatch again 2012-03-12 18:25:36 +00:00
Nathan Gray
8820bf0acf Whoops - revert accidental commit 2012-03-12 17:58:55 +00:00
Nathan Gray
c2d1edc754 Make button onclick work inside nextmatch again 2012-03-12 17:55:52 +00:00
Nathan Gray
96271ea210 Change image buttons from using a child image widget to using the img node as the button's DOM node 2012-03-08 17:10:26 +00:00
Andreas Stöckel
69c7697e61 Fixed problem with infolog-image 'not-started' not found in grid; causes new problem with some buttons being displayed twice (caused by this.image=null in et2_widget_button.js::180) 2012-03-06 16:29:18 +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
Nathan Gray
68d8b02525 Remove accidentally committed debug 2012-03-05 21:43:03 +00:00
Nathan Gray
ac01014a14 Translate select box options (including empty selection text) using proper egw object 2012-03-05 21:40:44 +00:00
Nathan Gray
26c888ccd4 Encode square brackets and split names at ][, not just [ 2011-11-14 22:57:06 +00:00
Nathan Gray
43c6d95a25 Get simple submit buttons (legacy actions) working in datagrid 2011-11-09 21:34:02 +00:00
Nathan Gray
9b7cd5019c Silence some messages about missing attribute attributes 2011-09-27 23:44:07 +00:00
Nathan Gray
b41745afdb Get js in row buttons working (again) 2011-09-26 16:19:09 +00:00
Nathan Gray
c622957b40 Handle if button onclick didn't get compiled. Still a problem with variable insertion though 2011-09-22 23:03:37 +00:00
Nathan Gray
390bb1f6f0 Get all button images working (in timesheet & infolog list at least) 2011-09-22 21:23:30 +00:00
Nathan Gray
c631412dfb Change style for buttons with icons to only display image 2011-09-22 19:10:21 +00:00
Nathan Gray
15ed02894f Get submit buttons + buttons with no onclick function in a nm row (legacy actions) to at least fire 2011-09-22 16:25:41 +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
ff2a8102d6 Implemented all link widgets 2011-09-14 20:36:39 +00:00
Nathan Gray
812242a224 Get images working in buttons, sort of
-- Don't know what's happening with events in the grid.  Something happens if you double click, but it's not the button's click method.
2011-09-14 18:37:38 +00:00
Nathan Gray
86a356314b Fix missing onclick 2011-08-31 00:03:50 +00:00
Andreas Stöckel
ec5b162bfa Moved et2 core interfaces to own file; implemented Class.free which cares about calling 'destroy', removing all references the object may hold and rendering the object unusable after 'free' has been called; added 'getMem_freeMem_trace' which helps hunting down memory leaks with objects derriving from Class; added first implementation of the nextmatch widget - currently does nothing else but rendering the header and clicking on the nextmatch_sortheader labels 2011-08-25 13:35:53 +00:00
Andreas Stöckel
53f4064cdc Added some naming scheme to the js files 2011-08-24 10:18:07 +00:00