Commit Graph

9 Commits

Author SHA1 Message Date
Tobias Kündig 7a277b4b9c Added support for `dependsOn` with relationships (#3539)
Credit to @tobias-kuendig. Added $.oc.relationBehavior.changed function. To keep track of changes made using the relation controller this new "changed" function is called every time a record is created, added, removed or deleted. The function triggers the change.oc.formwidget event on the form field that belongs to this relation controller so other form fields are notified about the changes.
2018-12-03 10:08:00 -06:00
Samuel Georges 0d336151d2 Improvements to data persistence, rework readOnly
Fixes #2308
2016-09-27 20:21:32 +10:00
Jérémy Gaulin 7f22ba62dc Propagate the readOnly option to the viewClickList AJAX action 2016-08-08 08:35:57 +02:00
Samuel Georges 8859723f35 Fixes #1062 - Subsequent popups are passed _relation* fields
Note in future: The bindToPopups() function could/should be made recursive
2015-04-11 12:23:49 +10:00
Samuel Georges 3eede4a7b7 Reorganise and improve RelationController
Fix bug in DataTable limited to 10 records
2015-03-27 22:20:52 +11:00
Samuel Georges e48963b1e9 Improve mode detection for relations by using an event target 2015-02-28 19:33:11 +11:00
Samuel Georges 25835e5f55 Implement belongsTo RelationController type 2015-01-21 20:53:19 +11:00
Sam Georges 1221faae62 Session key fix to relation manager
My Settings context now uses correct breadcrumb
2014-07-02 20:49:45 +10:00
Sam Georges 71a5dd67ab Welcome to the world, October :-) 2014-05-14 23:24:20 +10:00