PluginProbe
FeedWordPress / 2011.0721
FeedWordPress v2011.0721
trunk 0.8 0.9 0.91 0.95 0.96 0.97 0.98 0.981 0.99 0.991 0.992 0.993 2008.1030 2008.1101 2008.1105 2008.1214 2009.0612 2009.0613 2009.0618 2009.0707 2009.1111 2009.1112 2010.0127 2010.0528 All 65 releases
← All changes | feedwordpress-elements.js +5 -4 2011.07062011.0721 View file →
@@ -61,9 +61,9 @@
61 61 else { s.addColor = s.addColor || '#FFFF33'; }
62 62
63 63 if ( !s ) { return false; }
64 64
65 - if ( !e.is("[class^=add:" + list.id + ":]") ) { return !fwpList.add.call( list, e, s ); }
65 + if ( !e.is('[class^="add:' + list.id + ':"]') ) { return !fwpList.add.call( list, e, s ); }
66 66
67 67 if ( !s.element ) { return true; }
68 68
69 69 s.action = 'add-' + s.what;
@@ -90,8 +90,9 @@
90 90
91 91 if ( true === res ) { return true; }
92 92
93 93 jQuery.each( res.responses, function() {
94 + // FIXME: Causes ownerDocument is undefined breakage in WP3.2
94 95 fwpList.add.call( list, this.data, $.extend( {}, s, { // this.firstChild.nodevalue
95 96 pos: this.position || 0,
96 97 id: this.id || 0,
97 98 oldId: this.oldId || null
@@ -320,13 +321,13 @@
320 321
321 322 process: function(el) {
322 323 var list = this;
323 324
324 - $("[class^=add:" + list.id + ":]", el || null)
325 + $('[class^="add:' + list.id + ':"]', el || null)
325 326 .filter('form').submit( function() { return list.fwpList.add(this); } ).end()
326 327 .not('form').click( function() { return list.fwpList.add(this); } );
327 - $("[class^=delete:" + list.id + ":]", el || null).click( function() { return list.fwpList.del(this); } );
328 - $("[class^=dim:" + list.id + ":]", el || null).click( function() { return list.fwpList.dim(this); } );
328 + $('[class^="delete:' + list.id + ':"]', el || null).click( function() { return list.fwpList.del(this); } );
329 + $('[class^="dim:' + list.id + ':"]', el || null).click( function() { return list.fwpList.dim(this); } );
329 330 },
330 331
331 332 recolor: function() {
332 333 var list = this, items, eo;