r61745 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r61744‎ | r61745 | r61746 >
Date:16:01, 31 January 2010
Author:shmichael
Status:deferred
Tags:
Comment:
* Fixed bug in chrome derived from improper variable scoping
Modified paths:
  • /branches/js2-work/phase3/js/mwEmbed/modules/AddMedia/searchLibs/kalturaSearch.js (modified) (history)

Diff [purge]

Index: branches/js2-work/phase3/js/mwEmbed/modules/AddMedia/searchLibs/kalturaSearch.js
@@ -105,7 +105,7 @@
106106 .click( function() {
107107 $j('input[type=checkbox]', $filtersContainer).attr('checked',true);
108108 // TODO: avoid code duplication (with individual click event).
109 -
 109+
110110 _this.resetFilters();
111111 // Request a paging reset
112112 _this.resetRequired = true;
@@ -215,8 +215,8 @@
216216 };
217217
218218 // Add optional parameters
219 - media = this.filters.getFilterValues( 'media', false );
220 - providers = this.filters.getFilterValues( 'providers', true );
 219+ var media = this.filters.getFilterValues( 'media', false );
 220+ var providers = this.filters.getFilterValues( 'providers', true );
221221
222222 if ( media.length > 0 ) {
223223 request[ 'media' ] = media.join( ',' );

Status & tagging log