Commit Graph

617 Commits

Author SHA1 Message Date
Sam Georges 73200606bc Pass isFirstField attrib, allow prevent of default focus() 2014-09-10 19:29:02 +10:00
Sam Georges 3d36e65a55 Trigger invalid on all fields, but only focus the first one. Also pass the messages across. 2014-09-10 19:11:21 +10:00
Sam Georges 7ea65608a0 As per documentation, option-based redirect should only occur on successful AJAX requests (pushing a redirect from the server still works) 2014-09-10 17:03:36 +10:00
Sam Georges 33922f2180 If the target element is an input (textarea, select, etc) include its value when not used in a form 2014-09-06 13:58:10 +10:00
Sam Georges 2a5afaf9c7 Update oc- icons to match font autumn
Minor tidy up to framework.js
2014-07-27 16:08:08 +10:00
Sam Georges f9a68456ae Add initial theme support to update process 2014-07-24 19:16:19 +10:00
alekseybobkov 5488429fe4 Fixed the unknown component caching problem. Added the unknown component handling to the back-end. AJAX request can now be stopped with preventing default action in the oc.beforeRequest event. Fixes #46. 2014-06-26 17:09:25 +11:00
Sam Georges 12a7e7776b Minor 2014-06-10 08:16:33 +10:00
john-mark-wilkinson 35defa381b Update framework.js
Added prepend option '^' for AJAX framework "data-request-update" parameter
2014-06-09 13:47:00 -07:00
Sam Georges 1728295f3f Fixes an issue where success is still called when AJAX validation fails 2014-06-02 18:16:39 +10:00
Sam Georges 05b3ed21a4 Update Font-Autumn lib (adds more icons) 2014-05-19 22:10:33 +10:00
Sam Georges fc0bf77ffe Add an event for overriding the default error message 2014-05-19 18:17:59 +10:00
Sam Georges b19052906d Fixes broken icon refs 2014-05-17 00:08:59 +10:00
Sam Georges efd9e5bb90 Minor rollback: We dont actually need to pass the context to beforeUpdate() 2014-05-15 14:21:40 +10:00
Sam Georges 8019cd7a85 Minor 2014-05-15 14:17:10 +10:00
Sam Georges f8294b8400 Add extra hooks for before ajax updates 2014-05-15 14:16:11 +10:00
Sam Georges 71a5dd67ab Welcome to the world, October :-) 2014-05-14 23:24:20 +10:00