41 Commits

Author SHA1 Message Date
Scott Bedard
db999cf179 Adds "search" & "email" types to data-track-input 2015-05-18 21:22:35 -04:00
alekseybobkov
20fb98d9a8 Refactoring and improvements in the back-end client-side memory management. 2015-04-28 20:13:04 -07:00
Samuel Georges
9173e3bb9a Merge branch 'develop' into media-manager 2015-04-23 18:09:18 +10:00
Samuel Georges
b1d1d9dae1 Add a loading indicator to install theme/plugin screen 2015-04-21 20:02:24 +10:00
alekseybobkov
06e5dce96a Fixed a conflict in framework.js. Closures in the script are named now, for the memory profiling needs.
Conflicts:
	modules/system/assets/js/framework.js
2015-04-11 18:58:24 -07:00
Samuel Georges
f143c0e2ce Merge pull request #1051 from scottbedard/patch-4
Adds input type to data-track-input
2015-04-10 22:34:35 +10:00
Samuel Georges
0f630c80d9 Improve framework code to support $(this) in data attributes 2015-04-08 07:44:26 +10:00
Scott Bedard
51c868e693 Adds input types to data-track-input options
I need this input type, and it would be handy if I could use it with data-track-input. I promise this will be the last time I ask you to touch your priceless faberge egg ;)
2015-04-07 09:37:02 -04:00
Scott Bedard
7546174b35 Adds "request-complete" to the data-attributes api
... I hope.
2015-04-06 19:14:17 -04:00
alekseybobkov
790b464679 Merge branch 'develop' into media-manager 2015-04-04 19:01:08 -07:00
Samuel Georges
c54821f175 Overhaul the plugin installation process in the back-end
Themes can now be installed via the back-end
2015-04-04 17:28:51 +11:00
alekseybobkov
9ed3d03484 jQuery in the back-end updated to v.2.1.3. Fixed several memory management issues in select2 (an event attached to the mask element is never unbound), framework.js (onunload event attached to window is never unbound and holds references to the Request instances). Added popup adaptive size option. Started media manager popup API. 2015-03-29 18:56:06 -07:00
alekseybobkov
18e058ad59 Added the Media tab, minor update in .htaccess to allow temporary public directory to be accessible; implemented the basic UI components and navigation; implemented grid, list and tiles view modes; implemented drag-select interface; implemented Media Library cache refreshing; implemented thumbnail generating for local and remote media files; fixed memory leak in third-party Flot Resize library; minor update in the AJAX framework - AJAX request cancelling is not considered as an error anymore; added back-end UI components for creating panels. 2015-03-15 12:52:03 -07:00
Samuel Georges
c559db0de6 Extract the updater JS to its own file, add helper to find missing dependencies 2015-02-21 22:59:09 +11:00
Samuel Georges
4e2182138d Lower the chance of a conflict with the CSS class "loading" 2015-02-17 21:04:24 +11:00
Samuel Georges
569fe2e468 These events should pass the context, to be aligned with the others 2015-01-29 20:06:06 +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
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
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
fc0bf77ffe Add an event for overriding the default error message 2014-05-19 18:17: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