Commit Graph

203 Commits

Author SHA1 Message Date
mdipierro
d5d25e8110 jquery 1.12.2 2016-03-18 20:49:19 -05:00
mdipierro
ebe3434a86 fixed commit error 2016-03-09 11:54:27 -06:00
mdipierro
b487583f92 admin2 - experimental 2016-03-09 11:53:07 -06:00
mdipierro
3498666115 Merge pull request #1153 from niphlod/fix/1100
fixes #1100
2016-01-04 09:41:43 -06:00
niphlod
17f1a51133 fixes #1100
now elements with data-w2p_disable are not disabled.
in addition, for non-ajax forms, disabled submit buttons are reenabled
after 5 seconds

plus reindented, refactored AND jslinted
2015-12-30 16:19:39 +01:00
niphlod
90c33911ab fixes #1143
don't even get me started about the current messy status of admin
2015-12-30 12:07:18 +01:00
ilvalle
d883e3d84e added w2p_target attribute in form to control the output destination 2015-11-14 12:03:20 +01:00
mdipierro
7761219cba jquery 1.11.3, bootstrap 3.3.5 2015-08-07 02:10:27 -05:00
mdipierro
8e3925820c allow disabling of confirmation in js delete 2015-05-02 23:16:05 -05:00
mdipierro
b02e8a6d5f fixed problem with custom import and upgraded jquery.js 2015-04-02 16:30:15 -05:00
ilvalle
08dd716312 codemirror 4.13 2015-02-21 15:42:31 +01:00
www-data
46a52bed8b Added the 2 missing files. This is probably consequences of codemirror
update.
2015-02-18 18:38:33 +01:00
ilvalle
85f05109de removed unsed codemirror files 2015-02-14 17:07:58 +01:00
Francois Delpierre
11722b9c82 Updated codemirror to v4.12.
Did a lot of cleanup to limit the size of the plugin.
I kept the emmet plugin.
2015-02-07 18:41:17 +01:00
niphlod
a6b50dcdcd streamline behaviour of component (trapped) forms with multiple submit buttons
this is because jquery can't know what button was pressed when the 
submit event is triggered. We circumvent it adding an hidden field before
triggering the submission

BTW: don't know why the commit seems huge. I just changed a bit the trap_form
function to handle the corner case and streamlined what disableElement, 
enableElement, disableFormElements, enableFormElements do, 
along with formInputClickSelector
2014-11-08 23:04:58 +01:00
mdipierro
8804a9ed77 Merge pull request #524 from niphlod/js/speed
Waiting for a sane "prefixing", a much more efficient way to find errors
2014-10-16 16:12:05 -05:00
niphlod
b43ef65eb1 while we wait for a sane "prefixing", use a much more efficient way to find errors
This comes from an unfortunate choice of naming conventions and the fact that 
manage errors gets called even on the full document on page load.
I had a table full of .error-"classed" elements and it took nearly 30 seconds for that
snippet to hide and fade them in. We should definitevely prefix every css class with
something that won't clash with everything else.
2014-10-16 21:08:55 +02:00
niphlod
15fe54bdca refactor main_hook to a function 2014-10-14 23:42:41 +02:00
niphlod
db68a2a10e fixes issue 1985
plus made a pass to jsbeautifier for improved reading
plus fixed an annoying trailing comma that could cause issues with IE >= 8
2014-09-25 22:49:40 +02:00
mdipierro
0120ad5b95 upgraded simplejson 2014-09-14 16:37:09 -05:00
ilvalle
7fa8f1fa08 fix web2py.js with show_if and grid 2014-09-05 16:17:36 +02:00
ilvalle
967a37adc4 online editor:potential fix for requests cancelled due to same origin policy 2014-07-22 10:22:48 +02:00
mdipierro
7cfa2a54b7 remove more bloat 2014-05-09 15:43:10 -05:00
mdipierro
27bb2ee6b8 removed some files but not all (for now) 2014-05-09 15:24:18 -05:00
Massimo
7e470d7786 added missing files 2014-04-15 10:22:57 -05:00
mdipierro
29ca1872b0 GAE should use 2.7, not 2.5 2014-03-29 17:28:45 -05:00
ilvalle
7cd3ffbcbd codemirror 4.0.3 (new upstream major release) 2014-03-25 12:56:39 +01:00
mdipierro
ae0749d6b8 reverted some bs3 changes 2014-03-03 08:13:37 -06:00
mdipierro
1e9872c015 welcome more bootstrap3 compliant, thanks Paolo Caruccio 2014-02-27 09:33:26 -06:00
ilvalle
7dd99cf3a1 online editor: shortcuts in a separated frame and style review 2014-01-21 14:45:56 +01:00
ilvalle
45bc26f5eb codemirror 3.21 2014-01-18 10:13:56 +01:00
ilvalle
88ce19d99f Save current working session in online editor 2013-12-21 15:32:20 +01:00
ilvalle
d72d5c64e2 fix issue 1825 2013-12-19 09:52:38 +01:00
ilvalle
2d669a50b2 Manage w2p:enable-with in order to reuse form 2013-12-13 12:09:52 +01:00
ilvalle
371f97e050 invalidate function in web2py.js 2013-12-11 15:50:19 +01:00
niphlod
b0b2fd7804 fixed naming bug. Thanks @Peter Govers for the patch 2013-12-10 21:08:39 +01:00
ilvalle
b7192d706c todolist panel (frontend part), by clicking on the TODO the relatve file is opened in a tab and the cursor is placed at the right line 2013-12-06 12:37:33 +01:00
ilvalle
b61b0bf3ad todo panel in admin editor 2013-12-05 11:43:23 +01:00
Massimo
e6f84c45b9 fixed 1756:scripts/sessions2trash.py doesn't work with 'separate=True', thanks Paolo Valleri 2013-11-07 10:25:29 -06:00
mdipierro
3defd7d7b1 fixed issue 1763 user of arrows in numerical fields 2013-11-06 11:11:01 -06:00
mdipierro
643e945540 fixed web2py.js for trapped non-self-submitting forms, thanks Vinicius 2013-11-06 10:30:41 -06:00
niphlod
a6223cc319 fixes issue 1753, web2py.js doesn't set the disabled state for inputs with name 2013-10-31 21:10:37 +01:00
mdipierro
c89ed53be1 Merge pull request #286 from ilvalle/fix-editor
fix for empty python file in admin editor
2013-10-29 14:05:21 -07:00
ilvalle
7d5cdb9220 fix for empty file in admin editor 2013-10-28 10:17:47 +01:00
mdipierro
7caf1c0794 Merge pull request #279 from ilvalle/fix-editor
Dynamic tab width in editor settings
2013-10-26 18:23:16 -07:00
ilvalle
94ddb6c11f dynamic tab size in admin editor (all tabs are placed along the same line) 2013-10-24 09:48:03 +02:00
mdipierro
811a44fd14 Merge pull request #277 from ilvalle/fix-editor
codemirror 3.19 and directory cleanup
2013-10-23 17:44:15 -07:00
ilvalle
ff7cb99bfe jQuery -> $ in admin editor 2013-10-23 14:07:51 +02:00
ilvalle
339de2fa41 codemirror 3.19 and directory cleanup 2013-10-23 13:31:57 +02:00
mdipierro
9fa1757ffb Merge pull request #275 from ilvalle/fix-editor
bootstrapSwitch in admin
2013-10-22 15:04:01 -07:00