Commit Graph

154 Commits

Author SHA1 Message Date
Carlos Cesar Caballero Díaz
ff3e9ec85b Add last bootstrap version
- include bundle js version
- include map files
2018-04-26 10:46:48 -04:00
Leonel Câmara
b4673384e5 Update bootstrap from a v4-alpha version to the latest release
Fixed welcome to work with the new release
Fixed checkboxes and radiobuttons in bs4 formstyle
2018-03-07 14:07:09 +00:00
Francisco Ribeiro
7aafd05cbb patched flash function to prevent XSS 2018-02-12 11:36:34 +00:00
mdipierro
b11d6f6498 removed share 2017-12-02 13:30:19 -06:00
mdipierro
65b3e6dda9 support for bootstrap4 2017-11-13 23:29:34 -06:00
Eric Waldman
2aa8fd22a2 Set entry animation to 'fadeIn' and provide an easy switch for 'slideDown' 2017-11-03 15:17:18 -04:00
abastardi
e880da0d0e Fix submit button disable bug
When a form includes more than one submit button, after being disabled
all buttons are re-enabled with the value of the first button rather
than having their original values restored. This change iterates over
each button separately to disable and enable.
2017-08-23 11:43:40 -04:00
mdipierro
c183c7b18b Merge pull request #1666 from abastardi/ajax-uploads
Enable Ajax file uploads
2017-07-10 14:15:01 -05:00
mdipierro
5583e9cdc7 R-2.16.0b1 2017-07-05 01:37:48 -05:00
abastardi
78f3af6fc1 Use FormData when supported to allow Ajax file uploads 2017-06-21 16:29:19 -04:00
Andrew Willimott
1c747357b0 Repointed appadmin to admin/static for d3 files 2017-05-16 06:47:30 +12:00
Andrew Willimott
57b554d618 Initial d3 graph commit. Add d3 to graph layout 2017-05-04 07:03:07 +12:00
Carlos Cesar Caballero Díaz
02d2fefc21 renamed "on_succes" option to "done" allowing multiple inputs
renamed "on_succes" option to "done" allowing multiple inputs,code
refactoring
2017-04-12 08:48:52 -04:00
Carlos Cesar Caballero Díaz
232598fd8d Added on_succes and custom options for web2py ajax function 2017-04-10 12:23:34 -04:00
Vinyl Darkscratch
fc0add67b5 Add web2py componentBegin event
Like the “w2p:componentComplete” event I added a while back, this is
another event that I use in my website, and I thought it would be
helpful to share it with others.  This way, you can easily catch when a
web2py component starts loading, and write a handler for whatever
reason (in my case, determining when the user is navigating to a new
page through a smooth loading function piggybacking off of the web2py
component system)
2016-11-29 14:05:17 -08:00
Vinyl Darkscratch
e19435dbcf Prevent Firefox from loading the page "javascript:null;" 2016-11-11 18:51:38 -08:00
Vinyl Darkscratch
0a07af55f9 Replace "#" link with "javascript:null;" 2016-11-11 03:31:10 -08:00
Vinyl Darkscratch
8e79e49ae3 Mobile (iOS) fix for dismissing flashes
iOS devices don’t like listening to clicks on most objects.  They
typically prefer a and button objects.  This fix replaces the
#closeflash span with a link to “#” instead (while also inheriting
text-decoration and color styling), so that mobile (iOS) devices will
allow you to close the flash.
2016-11-10 01:19:06 -08:00
Vinyl Darkscratch
7615848f83 Add a fired event after the component has finished loading
Sometimes we may want to know when the component is finished with it’s
loading process entirely to trigger animations or something similar.  I
added this for my own website, and I think that others may want to use
this.  It’s a small addition, but I hope that it will be helpful to
others!
2016-10-18 18:27:37 -07:00
mdipierro
4026357689 fixed undefined var in web2py.js 2016-09-27 16:49:20 -05:00
Richard Vézina
bd47b7f80a .att() -> .prop() for setting autocomplete off 2016-07-10 12:30:22 -04:00
niphlod
955b30a871 fixes #1364 2016-06-28 21:36:59 +02:00
mdipierro
d5d25e8110 jquery 1.12.2 2016-03-18 20:49:19 -05: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
ilvalle
d883e3d84e added w2p_target attribute in form to control the output destination 2015-11-14 12:03:20 +01:00
niphlod
12f848c899 fixes #1083 2015-10-19 21:50:34 +02:00
niphlod
827e663ac4 better list: widget 2015-09-21 22:18:18 +02:00
niphlod
46f081c45c fixes #1068
threw in also a better list:string widget repr for bs3

Updated also the bootswatch theme because something was wrong
2015-09-21 21:38:28 +02: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
niphlod
6a3bd509e0 bootstrap 3.3.4 is out. 2015-03-25 21:25:29 +01:00
niphlod
0086f7d28a first iteration on bs3 cleanup 2015-03-18 23:11:55 +01:00
mdipierro
2ff0f299da add remove static welcome files 2015-03-17 13:02:11 -05:00
mdipierro
dcaa103b8d restored some files that got corrupted in bs3->bs2, thanks Niphlod 2015-03-17 11:57:41 -05:00
mdipierro
61ccfa2b72 welcome3 is standard (but not final) 2015-03-16 21:44:45 -05:00
mdipierro
bbb47ba075 Merge pull request #830 from BuhtigithuB/master
Fix click popagation to both new and actual tab when CTRL+Click
2015-03-05 16:26:36 -06:00
BuhtigithuB
1554987e62 Fix click popagation to both new and actual tab when CTRL+Click
This solved the issue #829
2015-03-03 10:16:25 -05:00
Leonel Câmara
8f07005965 Fixed issue 819
The problem was that it was only checking for button to use html instead of val, what you need is to only use val if it it's an input and use html for everything else.
2015-02-25 13:26:29 +00:00
Leonel Câmara
5eb2d7b9ee minor (removed extra space) 2015-02-05 09:34:37 +00:00
Leonel Câmara
53a774827e made w2p:enable-with follow the same style as w2p_disable_with
Fixed a bug in enableElement where val was being used for button elements instead of html.
2015-02-05 09:32:11 +00: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
mdipierro
3738f7dc7a reverted to bs2 for an early release 2014-08-26 14:29:15 -05:00
mdipierro
715cc484d4 removed legacy files 2014-08-14 16:23:48 -05:00
mdipierro
cbad6c712c upgraded to bs 3.2.0 2014-08-09 02:16:27 -05:00