Commit Graph

3057 Commits

Author SHA1 Message Date
Nathan Gray
791bf29e60 Some better handling of app.appname.funcname style onclick / onchange when set in the template 2013-10-01 16:52:38 +00:00
Nathan Gray
4449e9a44b Override the correct function 2013-10-01 15:52:25 +00:00
Nathan Gray
a8136aa191 Give filemanager selection a widget front-end. 2013-10-01 15:40:14 +00:00
Nathan Gray
e2bc78b9e3 Make sure we don't lose widget context 2013-10-01 15:31:11 +00:00
Hadi Nategh
2445bfc22b Fix the regular expresion to get the right key for nested Ids using [], textbox_widget 2013-10-01 15:06:56 +00:00
Nathan Gray
bc6acd4a3e Mix preserved arrays replacing new arrays when new array is empty 2013-10-01 09:20:23 +00:00
Nathan Gray
52d339305e Default placeholder actions to "add" if not otherwise specified. Allows 'Add' action by default when no records shown in nextmatch. 2013-10-01 07:40:20 +00:00
Nathan Gray
83741673c3 Fix account/group select search dialog
- Broken group expansion
 - Broken styling / indents
 - Use unique IDs & data-id for account ID
2013-09-30 16:54:25 +00:00
Nathan Gray
28c2737c9f Change multi-select header styling:
- Change icons from jQueryUI to egw
- Stop hiding header when not needed, always show
- Don't visually distinguish header
- Don't float right icons, leave them between checkbox and label
2013-09-30 15:39:36 +00:00
Nathan Gray
db1077e3ed Fix extra change event firing which was breaking multiple file uploads 2013-09-25 15:52:42 +00:00
Nathan Gray
9039200578 - Handle complicated/nested IDs in left/right headers (eg col_filter[tr_tracker])
- Handle left/right headers loaded async from server when setting up handlers
2013-09-19 20:39:17 +00:00
Nathan Gray
c19f95ded8 For multiselectboxes, we need to do an array comparison for dirty, or it will always fail (be dirty) 2013-09-19 20:37:17 +00:00
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
Nathan Gray
1bdd5eb617 Size chosen selectboxes even if they are hidden - prevents 0 width chosen selects 2013-09-18 20:15:11 +00:00
Nathan Gray
8b01daa120 Fix selecting tab by passing in value 2013-09-18 18:01:52 +00:00
Nathan Gray
407efdbcaf Some chosen parameters:
- Inherit classes from select
- Search within, not just at start
2013-09-17 16:22:51 +00:00
Nathan Gray
8f91781933 Change nextmatch actions to use ajax submit, not post 2013-09-16 15:20:22 +00:00
Hadi Nategh
8cdbbe67fc fix et2-> nm_open_popup error,"undefined method getInstanceManager", in et2_extension_nextmatch_actions 2013-09-16 10:40:19 +00:00
Hadi Nategh
5517a29d47 Fix datepicker error,"hour is undefined" from et2_widget_date 2013-09-13 13:06:46 +00:00
Hadi Nategh
c1683552ba et2_widget_date-> datetime:Fix replacement of entered time manually with actuall time 2013-09-12 11:45:26 +00:00
Nathan Gray
871f63a9f2 Additional checks on autorepeat fallback
- Better handling of the different accepted indirect placeholders
- Add a check & error to prevent infinite loops (or crazy large grids)
2013-09-10 23:25:51 +00:00
Nathan Gray
02c6f3b108 Remove some more references to phpgwapi/js/egw_json.js 2013-09-10 18:56:50 +00:00
Nathan Gray
dcfcec3ab1 Put checkbox before label by default 2013-09-10 18:39:31 +00:00
Nathan Gray
3ae18c9a78 - Use a et2_dialog over native prompt for editing comments
- Use jsapi's egw.json() for ajax
2013-09-10 17:57:41 +00:00
Nathan Gray
ca54de9e2c Use jsapi's egw.ajaxURL() 2013-09-10 17:55:05 +00:00
Nathan Gray
8105242434 Favorites fixes
- Fixes for multiple favorites on the page at the same time (multiple et2 apps)
- Use egw.json() calls
2013-09-10 17:06:15 +00:00
Nathan Gray
4996c584b3 Use a different method to avoid special expansion breaking nextmatch - skip it for grids inside a nextmatch. 2013-09-10 16:09:12 +00:00
Ralf Becker
256b888124 fix for templates containing no bottomNodes 2013-09-10 14:40:19 +00:00
Klaus Leithoff
8667f81010 change handling of progress attribute; only XET-ids work, when fetched with getWidgetById and widget.getDomNode (it may not be available at creation time, so we (re)check on createStatus time) 2013-09-10 12:57:40 +00:00
Klaus Leithoff
355ffbbb9b change handling of progress attribute; only XET-ids work, when fetched with getWidgetById and widget.getDomNode 2013-09-10 08:08:47 +00:00
Nathan Gray
9192652877 Let progress attribute be a widget ID or the ID of a specific DOM node 2013-09-09 22:04:48 +00:00
Nathan Gray
7b9b5efe7f Apparently expandName() can also return null - handle that too 2013-09-09 21:39:31 +00:00
Nathan Gray
2087aed7a3 Check to see if the substitution actually got something, or we could wreck the nextmatch rows. 2013-09-09 19:16:05 +00:00
Nathan Gray
230472d256 Change auto-repeat detection to additionally look through widgets for IDs like const[$row] when there is no row content 2013-09-09 18:52:11 +00:00
Nathan Gray
bfef97c8fc Documentation correction 2013-09-09 18:42:51 +00:00
Nathan Gray
b485b57785 Fix for hidden old popups breaking application height. Still not perfect in idots, but much better. 2013-09-05 21:51:47 +00:00
Ralf Becker
1590d02816 new egw_framework::message($msg, $msg_type="success") method and fixing nextmatch filter-change to return app-header 2013-09-05 11:53:25 +00:00
Nathan Gray
b1aca92a9e Merge egw_jsons - use api egw.ajaxUrl() 2013-09-04 23:30:29 +00:00
Nathan Gray
c2c5337bd2 Save a little trouble by using the global egw.preferences() directly 2013-09-04 23:20:44 +00:00
Ralf Becker
1f8e0e9e41 global method egw_message(_msg, _type) to display success-, warning- or error-messages in app-header 2013-09-04 19:02:34 +00:00
Ralf Becker
9d29c16c3a fixed no footer (eg. closing body and html tag) in jdots template, because etemplate2 (unneccessary) calls footer, but ignores its return value 2013-09-04 13:50:37 +00:00
Ralf Becker
baaaf5b877 static method to get app-names as options, as from the widget itself 2013-09-04 13:48:22 +00:00
Klaus Leithoff
74ec0f6651 fix some issues for file upload type validation 2013-09-04 09:03:54 +00:00
Nathan Gray
c53943aa76 Another try to avoid jQueryUI error about not created menu 2013-09-03 21:25:50 +00:00
Klaus Leithoff
3bc322690e throw exception if no name is given for instanciation of template 2013-09-02 12:51:53 +00:00
Klaus Leithoff
d5613a51fe swap haystack and needle, as they seem in wrong order for the purpose at hand 2013-09-02 07:52:57 +00:00
Nathan Gray
dc46ebed05 Avoid jQueryUI error about not created menu 2013-08-30 16:27:34 +00:00
Nathan Gray
4760b5f55e Keep column filters & sort of different nextmatches separate 2013-08-30 16:26:54 +00:00
Ralf Becker
65ef45630b change send_notifications to always restore modifications on user-enviroment, before returning 2013-08-30 13:48:47 +00:00
Klaus Leithoff
7744905ba8 try to resolve a use-session-stored-data related problem; make sure account_id and prefs are restored after send_notification 2013-08-30 12:57:51 +00:00