Commit Graph

33 Commits

Author SHA1 Message Date
Samuel Georges b13eb26b52 Update Font Autumn to latest 2015-01-28 18:28:35 +11:00
Samuel Georges bc016adad7 Rollback performance change to framework.js because it's broken
(Submitting an invalid form in the backend will result in a page refresh, flash messaegs are suppressed)
K.I.S.S > Performance + premature optimization is the root of all evil
2014-12-28 13:03:52 +11:00
alekseybobkov 3ac21e3c89 Merge branch 'develop' into table-widget 2014-12-17 22:15:23 -08:00
Samuel Georges 986b3a95a8 Add the ability to override the confirm function 2014-12-15 17:48:59 +11:00
alekseybobkov 4e921aab7a Minor performance changes in the core JS and CSS. Table widget, in progress. 2014-11-16 18:00:15 -08:00
Sam Georges c83797231d Subsequent expressions are on a new line (see developer guide > PSR exceptions) 2014-11-01 12:00:45 +11:00
Sam Georges 1c6d48ffa8 Fixes a strange issue where a <button> inside a nested <form> will trigger the event twice (1 for button, 1 for form) 2014-10-27 17:59:53 +11:00
Sam Georges 32adc79924 Revert to FA-only icons 2014-10-22 14:22:41 +11:00
Sam Georges 578f1c0945 Update icons 2014-10-22 14:15:21 +11:00
Sam Georges 677030c5fa Update Font Autumn icon pack 2014-10-21 20:21:39 +11:00
Sam Georges d74a15b297 Update font autumn to latest 2014-10-17 17:33:59 +11:00
Sam Georges beab3c3ded A defined loader should not hide when there is a redirect taking place 2014-09-28 12:23:18 +10:00
Sam Georges 2b63282658 We have a form object already, use that instead 2014-09-26 19:54:30 +10:00
Sam Georges b7e969083f Only when there is no <form /> parental element 2014-09-26 19:52:02 +10:00
Sam Georges 69fb8e0918 Fixes issue where load indicator hangs around on errors when a redirect is used 2014-09-13 17:47:38 +10:00
Sam Georges c2a71e88bb Clean up some sloppy work 2014-09-12 20:20:52 +10:00
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