John Resig
b00ab56160
Merge branch 't6398' of https://github.com/jitter/jquery into jitter-t6398
2010-12-06 17:19:30 -05:00
John Resig
0276b9de7e
Merge branch 't4386' of https://github.com/jitter/jquery into jitter-t4386
2010-12-06 17:14:20 -05:00
John Resig
54a68fa973
Merge branch 't7578' of https://github.com/jitter/jquery into jitter-t7578
2010-12-06 17:06:26 -05:00
John Resig
df3441bac7
Merge branch 't5476' of https://github.com/jitter/jquery into jitter-t5476
2010-12-06 17:05:02 -05:00
John Resig
d4a9d45527
Merge branch 'restrictAttr' of https://github.com/jitter/jquery into jitter-restrictAttr
2010-12-06 17:02:00 -05:00
John Resig
e56d6f676b
Merge branch 't7673' of https://github.com/jitter/jquery into jitter-t7673
2010-12-06 16:57:41 -05:00
Colin Snover
11e52bdaea
Only try to get data attributes for a jQuery-wrapped object if it is actually an Element node. Fixes #7524 .
2010-12-03 01:19:39 -06:00
Colin Snover
238ac5a0aa
Fix memory leaks in IE caused by the custom abort function of $.ajax. Fixes bug #6242 .
2010-12-03 00:12:52 -06:00
Anton M
df0a3fb853
Handle carriage return characters in className property. Fixes #7673 .
2010-12-01 21:31:22 +01:00
adam j. sontag
34bf1a2a7d
Add a comment explaining that jQuery.map flattens arrays
2010-11-27 17:15:33 -05:00
danheberden
3e6e3c5eb8
Fix for #6911 - prevent disabled elements in liveHandler
2010-11-21 16:54:56 -08:00
Anton M
89b771daef
Make sure custom events named "submit" can be bound to non DOM elements in IE too. Fixes 6398.
2010-11-21 04:31:04 +01:00
Anton M
ab2a70e6cf
Make sure IE clones body elements correctly. Fixes 4386.
2010-11-21 01:58:46 +01:00
Anton M
8259efe734
Set cache to false as default for script or json requests. Fixes 7578.
2010-11-19 23:14:24 +01:00
Anton M
5c0b5d2560
Improve performance of get() for negative indices. Fixes #5476 .
2010-11-19 12:28:13 +01:00
Colin Snover
c04500a834
Optimize for size instead of speed.
2010-11-17 14:50:05 -06:00
Colin Snover
2a0c7d702b
Coerce s.url to string before calling replace, since replace is also a method of a Location object. Fixes #7531 .
2010-11-17 00:59:24 -06:00
Anton M
b50f41a2e3
Make sure attr() works on non DOM element nodes. Fixes #7202 , #7451 , #7500 .
...
Also added some tests for this attr(name), attr(name, value) and removeAttr(name).
2010-11-13 14:39:28 +01:00
jeresig
86cf820d36
Backing out commit 795e880bba
- errors popping up in IE 6/7/8.
2010-11-09 23:42:05 -05:00
jeresig
efaf375e56
Need to also handle the case where 'auto' is being returned, as in Firefox. Follow-up to #7395 .
2010-11-09 23:33:18 -05:00
jeresig
3394d32ea7
Maintain returning 0px from width/height for disconnected nodes for backwards compat, for now. Fixes #7395 .
2010-11-09 23:29:26 -05:00
rwldrn
795e880bba
Fixes #7397 ; Adds 4 supporting unit tests.
2010-11-09 23:18:16 -05:00
Anton M
49f088f2db
Partially revert commit a64dc04050
.
...
Removing the conditional was too liberal as now attr() would even work
on plain javascript objects. Keeping a check to make sure it is at least
a DOM Node is appropriate. Using nodeName as in the commit which introduced
the nodeType === 1 check seems plausible.
2010-11-10 00:36:53 +01:00
rwldrn
8f2667f4c0
Clean #7397 ; Removed unnec. var declaration
2010-11-09 18:20:27 -05:00
rwldrn
118c8c4600
Fixes #7397 ; 4 supporting unit tests
2010-11-09 18:06:33 -05:00
rwldrn
fc563cc42a
Fixes #7413 ; isEmptyObject() check to see if obj passes isPlainObject
2010-11-09 16:14:11 -05:00
Colin Snover
a64dc04050
Remove conditional that prevents attr from working on non-Element nodes. Fixes #7451 .
2010-11-09 15:52:20 -05:00
John Resig
983548f8eb
Make sure that if an additional load event is triggered (such as an iframe being dynamically injected in DOM ready) the ready event isn't triggered twice. Fixes #7352 .
2010-11-09 13:44:06 -05:00
John Resig
aa74396976
Merge branch 'bug7422' of https://github.com/csnover/jquery into csnover-bug7422
2010-11-09 12:40:55 -05:00
John Resig
fb48ae8e6c
Make sure that when multiple variables are being declared that assignments are each done on their own line.
2010-11-09 11:09:07 -05:00
John Resig
b5b3c73db3
We don't do end of line comments, move them above.
2010-11-09 10:34:32 -05:00
Colin Snover
e57b73a0ac
Ensure that AJAX requests are actually aborted in all browsers. Fix #7422 .
2010-11-06 13:52:30 -05:00
jeresig
d9478954b9
Limit the scope of the CSS 'auto' change to just height/width. Fixes #7393 .
2010-11-03 18:59:55 -04:00
jeresig
fb4445070c
Opera doesn't give height/width of display: none elements with getComputedStyle but does with currentStyle - fall back to that if it exists.
2010-11-03 15:39:28 -04:00
jeresig
9d1bfeb7ff
Make sure that accessing computed CSS for elements returns 'auto' instead of '' consistently. Fixes #7337 .
2010-11-01 19:04:59 -04:00
John Resig
e377621eaf
Fix quotes in comment.
2010-10-28 15:59:58 -04:00
jeresig
6e7a4e73a2
Calling .hide().show() on a stylesheet-hidden element wasn't bringing it back. Fixes #7331 .
2010-10-27 14:35:26 -04:00
Karl Swedberg
6ab402dced
For .show() with no arguments, only set display of elements in the second loop if they don't have style.display already set or if style.display isn't none. Fixes #7315 .
2010-10-26 14:37:44 -07:00
John Resig
7066bb384b
Temporarily backing out commit bd474799bf
.
2010-10-25 20:26:19 -07:00
John Resig
a68a85ad09
Merge branch 'jquery_dev' of http://github.com/danheberden/jquery into danheberden-jquery_dev
2010-10-25 20:25:25 -07:00
John Resig
de58db0cdf
Backing out fix for #5803 from 3b50eaca2c
.
2010-10-25 17:54:27 -07:00
danheberden
bd474799bf
Prevent IE from firing live/delegate events on disabled elements. ( #6911 )
2010-10-25 14:07:44 -07:00
John Resig
a4fc842019
Merge branch 'jquerymaster' of http://github.com/SlexAxton/jquery into SlexAxton-jquerymaster
2010-10-25 13:06:55 -07:00
John Resig
7e4f88e206
Merge branch '6897' of http://github.com/SlexAxton/jquery into SlexAxton-6897
2010-10-25 13:06:23 -07:00
dmethvin
09022e0b09
Allow DELETE requests to have a content body, and properly serialize data to the url for HEAD requests. Fixes #7285 .
2010-10-25 13:06:02 -07:00
dmethvin
974b5aeab7
Honor stopImmediatePropagation for live/delegate event handlers. Fixes #7217 .
2010-10-25 13:05:31 -07:00
John Resig
ee845c4975
Merge branch 'master' of http://github.com/rwldrn/jquery
2010-10-25 13:05:11 -07:00
John Resig
36143ce633
Merge branch 'unusedTrue' of http://github.com/lrbabe/jquery into lrbabe-unusedTrue
2010-10-25 12:36:40 -07:00
lrbabe
1a2400de08
.cur() doesn't take any boolean parameter since 1.4.3
2010-10-25 17:19:45 +02:00
Alex Sexton
086822e641
Moved jQuery.props to attributes since it was only used in support. Fixes #6897 - suggestion by dmethvin
2010-10-25 02:31:19 -05:00
rwldrn
3b50eaca2c
Fixes #7229 and #5803
2010-10-24 12:18:33 -04:00
jeresig
53396b879b
Make sure that .width()/.height() don't return NaN also standardize on returning instead of auto for default values (which is what we do elsewhere in .css() as well). Fixes #7225 .
2010-10-22 02:39:06 -04:00
jeresig
7e02cee5ff
Make sure that the correct height/width of the elements is retreived. Fixes #7225 .
2010-10-22 02:16:14 -04:00
jeresig
d9a3e0080a
Fix broken selector code from last commit.
2010-10-22 01:48:32 -04:00
jeresig
424500bcf0
Make sure that +, >, ~ leading, rooted, selectors go to the old engine. Thanks to @rkatic for the catch! Fixes #7220 .
2010-10-22 01:18:58 -04:00
jeresig
e4a38670b1
Make sure that height/width getters work on hidden inputs and disconnected elements. Fixes #7225 .
2010-10-22 00:28:33 -04:00
jeresig
3df41db036
Make sure that the ready event doesn't double-fire when .bind(ready) is used. Fixes #7247 .
2010-10-22 00:08:34 -04:00
jeresig
0174518a49
Only need to declare the data once.
2010-10-21 23:18:47 -04:00
Alex Sexton
a58f8f22d1
Forces lower case comparison of protocol and host when determining whether the request is remote or local. Fixes #6908
2010-10-20 21:12:47 -07:00
Paul Irish
97dfa0d5a8
fadeToggle(). as suggested by Karl Swedberg in his jQcon talk. patched live! omg
2010-10-17 14:26:32 -04:00
John Resig
8a5df39045
Make sure that .data() (no args) returns a list of all the data- properties as well. Also make sure that accessing a data- property via .data() doesn't cause it to change again at a later time (it should be static). Fixes #7222 , #7223 .
2010-10-17 11:42:53 -04:00
John Resig
a7d0b0b9e8
Var wasn't being explicitly declared. Fixes #7226 .
2010-10-17 10:58:01 -04:00
John Resig
e1b940d748
We removed deleteExpando after 1.4.2, for some reason. This caused problems with removeData() (no arguments). Fixes #7209 .
2010-10-17 10:56:01 -04:00
John Resig
497fc9849e
Bringing back the change from 80a4178af9
, adapted to handle both the function collision and the issue mentioned in #7196 .
2010-10-15 01:29:38 -04:00
jeresig
80a4178af9
Reverting commit 39addc87a3
after a report of problems. Fixes #7196 .
2010-10-14 20:55:40 -04:00
John Resig
ea507b3e99
Make sure that we don't attempt to handle scrolling when the node is disconnected from the document. Fixes #7190 .
2010-10-14 14:52:31 -04:00
jeresig
d490bcfa7c
Oops, still have jQuery.ajax.* on the brain.
2010-10-13 21:25:23 -04:00
Justin Meyer
f3d610e064
beforedeactivate will fire before focusout - use that to our advantage when working with the change event.
2010-10-13 10:38:29 -04:00
Justin Meyer
88068f82c1
Make sure that focusin/focusout bubbles in non-IE browsers.
2010-10-13 10:35:28 -04:00
Pinhook
39addc87a3
Handle issue with two concurrent JSONP requests that use the same callback name.
2010-10-13 10:30:19 -04:00
John Resig
2ef8da0924
Merge branch 'bug7150' of http://github.com/csnover/jquery
2010-10-12 21:51:44 -04:00
John Resig
783bb2a85f
Fix some gaps in the handling of event data properties. Thanks to @jitter in ff6ceadbfd
for the catches.
2010-10-12 20:56:46 -04:00
Colin Snover
1518ae1aed
Fix patch for #7150 , which was not deleting the events object properly on plain JS objects. Thanks to jitter for catching it.
2010-10-12 18:49:37 -05:00
John Resig
478fa8fdb3
Forgot to remove the child selector in the previous commit.
2010-10-12 10:56:02 -04:00
John Resig
085de84959
The child selector-prefix branch doesn't work with selectors that have a larger depth. Removing for now - will need to re-evaluate in the future.
2010-10-12 10:13:00 -04:00
John Resig
5200194f51
Make sure that .find() with multiple direct child selectors is handled correctly. Fixes #7144 .
2010-10-12 09:19:49 -04:00
Colin Snover
ff6ceadbfd
Use a key name less likely to result in collisions for events on plain JS objects. Fixes bug #7150 .
2010-10-11 23:35:18 -05:00
John Resig
6245ecb2b9
The world isn't ready for moving the Ajax methods to jQuery.ajax.*. Hope to move them there some day. Fixes #7146 .
2010-10-11 18:29:52 -04:00
John Resig
1df5084c97
Handle some edge cases with binding events to the window object (which is also a plain object - causing some confusion). Fixes #7143 .
2010-10-11 18:20:57 -04:00
John Resig
d23f63b13e
Merge branch 'animateHooks' of http://github.com/lrbabe/jquery into lrbabe-animateHooks
2010-10-11 16:44:12 -04:00
John Resig
5f30ae3b6f
Merge branch 'bug7141' of http://github.com/csnover/jquery into csnover-bug7141
2010-10-11 16:40:10 -04:00
Colin Snover
5646a4feee
Fix olddisplay was inappropriately set when calling hide on an already hidden element. Fixes #7141 .
2010-10-11 15:22:43 -05:00
Scott González
22ccbf82c8
Fixed getting styles from disconnected nodes. Fixes #7148 .
2010-10-11 15:11:03 -04:00
lrbabe
aa9e4db1ab
Make $.fn.animate compatible with jQuery.cssHooks
2010-10-11 16:08:38 +02:00
John Resig
385ca2aa89
Make sure closest works on disconnected DOM nodes. Fixes #7142 .
2010-10-11 07:45:15 -04:00
jeresig
19b4ba35c4
Return the zeroed-out bounding box instead of passing it on.
2010-10-10 18:54:30 -04:00
jeresig
884de15fb9
Make sure that the unload event doesn't leak in IE - use jQuery's binding mechanism to make that happen.
2010-10-10 18:01:59 -04:00
jeresig
fac7e61f16
Tweaking some formatting of the closest changes.
2010-10-10 15:42:56 -04:00
jeresig
ba149e78a9
Switch back to using Sizzle.matchesSelector.
2010-10-10 15:36:02 -04:00
jeresig
eb67d99416
Use the new Sizzle matches functionality.
2010-10-10 15:14:23 -04:00
jeresig
6f0b06aa9b
Fix formatting and switch to using the new matchesSelector method in Sizzle.
2010-10-10 13:37:36 -04:00
wycats
0ca35de311
Should improve performance of closest considerably. Benchmark proof in speed/closest.html
2010-10-09 21:33:02 -07:00
jeresig
cbf9d874e5
Change event did not fire in IE when an explicit .focus() was used. Fixes #6374 .
2010-10-09 19:04:15 -04:00
jeresig
79305ed146
Fix the case where live change was breaking if a live click was bound ahead of time. Very similar to #6359 . Fixes #6505 .
2010-10-09 18:16:08 -04:00
John Resig
10065a8deb
Merge branch 'master' of http://github.com/petersendidit/jquery into petersendidit-master
2010-10-09 18:04:54 -04:00
John Resig
4a0759dc79
Merge branch 'bug7123' of http://github.com/csnover/jquery into csnover-bug7123
2010-10-09 16:27:59 -04:00
John Resig
9b655a176b
Merge branch 'bug7018' of http://github.com/csnover/jquery into csnover-bug7018
2010-10-09 16:25:55 -04:00
John Resig
b0dcc1746f
Merge branch 'animate-nonblock' of http://github.com/csnover/jquery into csnover-animate-nonblock
2010-10-09 16:21:02 -04:00
jeresig
da597bcf90
Name the try/catch arg to satisfy JSLint - thanks to @rwldrn in 873c28425f
for the catch.
2010-10-09 12:26:44 -04:00
jeresig
2ae872c594
Make sure null/NaN values aren't set in .css(). Fixes #7116 .
2010-10-09 10:52:53 -04:00