Commit Graph

22 Commits

Author SHA1 Message Date
Flavio Copes
16d745b377 Merge branch 'develop' into feature/integrate-with-admin-pro 2015-11-21 16:40:18 +01:00
Djamil Legato
20a5c5d554 Force rescanning fields when submitting a form (fixes #243) 2015-11-20 15:00:25 -08:00
Flavio Copes
37cf4d8092 Minor fixes 2015-11-04 14:43:25 +01:00
Flavio Copes
9d9191974e Fix switching lang for subpages 2015-08-21 18:01:20 +02:00
Djamil Legato
0d6124a525 Ensuring a form element exists in the DOM, otherwise discard it from cache. (fixes #79) 2015-08-19 21:01:17 -07:00
Flavio Copes
a27ee216dd Add the correct task from the button clicked. Not be the best solution but solved the problem. Looking for a more correct solution later. 2015-08-19 17:27:34 +02:00
Flavio Copes
39870339b3 Merge branch 'develop' of https://github.com/getgrav/grav-plugin-admin into feature/work-on-toggleables 2015-08-07 09:06:32 +02:00
Djamil Legato
405a5dc48d Fixed form fields being submitted when disabled 2015-08-06 10:43:51 -07:00
Flavio Copes
f2890c651d Drop unneeded js method call, caused js error 2015-08-05 18:29:09 +02:00
Flavio Copes
5b55c7485d Toggleables buttons styling fixes 2015-08-04 20:27:04 +02:00
Flavio Copes
dd150f67f7 Work on toggleables 2015-08-04 19:28:42 +02:00
Flavio Copes
4f0df9f081 Use root instead of window. initialize currentValues also in pages-all.js because form.js is not called in expert mode 2015-08-03 15:43:40 +02:00
Flavio Copes
c2bd95eed7 Move setting currentValues after we initialize the toggleables. It's needed because otherwise the DOM is slighltly different, for example the select has a default value, while after initializing the toggleables, if the select is not enabled, the default value is null. Fixes the annoying "unsaved changes" promp appearing even when no changes were made to the page. 2015-08-03 14:46:12 +02:00
Djamil Legato
a3d4e568ea Fixed toggleable toggles as weird as it reads :) 2015-07-31 13:43:26 -07:00
Djamil Legato
14bfa21e4f Fixed toggable toggles 2015-07-31 13:08:34 -07:00
Flavio Copes
f31854b44f Process all page form elements 2015-07-31 09:24:35 +02:00
Gert
60f0de1e94 switch toggle to checkbox for overrides 2015-07-22 16:23:16 -06:00
Gert
592b54e9ad handle form fields that do not implement the js framework too 2015-07-22 16:23:05 -06:00
Gert
f3ed44db0c manual merge again 2015-07-22 16:22:57 -06:00
Gert
720f403851 switch toggle to checkbox for overrides 2015-06-08 15:03:36 +02:00
Gert
e5b171057b handle form fields that do not implement the js framework too 2015-06-03 15:21:15 +02:00
Gert
9971ec0291 start of new forms implementation 2015-06-01 21:22:56 +02:00