Index: trunk/extensions/MoodBar/modules/ext.moodBar.dashboard/ext.moodBar.dashboard.js |
— | — | @@ -333,12 +333,6 @@ |
334 | 334 | loadComments( 'filter' ); |
335 | 335 | } ); |
336 | 336 | |
337 | | - $( '.fbd-item-userLink' ).live( 'click', function( e ) { |
338 | | - e.preventDefault(); |
339 | | - $('#fbd-filters-username').val( $(this).text() ); |
340 | | - $('#fbd-filters').children('form').submit(); |
341 | | - } ); |
342 | | - |
343 | 337 | $( '#fbd-list-more' ).children( 'a' ).click( function( e ) { |
344 | 338 | e.preventDefault(); |
345 | 339 | // We don't call saveFormState() here because we want to use the state of the form |
— | — | @@ -346,15 +340,4 @@ |
347 | 341 | // you changed the form state then clicked More. |
348 | 342 | loadComments( 'more' ); |
349 | 343 | } ); |
350 | | - |
351 | | - saveFormState(); |
352 | | - var filterType = $( '#fbd-filters' ).children( 'form' ).data( 'filtertype' ); |
353 | | - // If filtering already happened on the PHP side, don't load the form state from cookies |
354 | | - if ( filterType != 'filtered' ) { |
355 | | - // Don't do an AJAX filter if we're on an ID view, or if the form is still blank after loadFromCookies() |
356 | | - if ( loadFromCookies() && filterType != 'id' ) { |
357 | | - saveFormState(); |
358 | | - loadComments( 'filter' ); |
359 | | - } |
360 | | - } |
361 | 344 | } ); |