Bug Tracker

Custom Query (13852 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (25 - 27 of 13852)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Ticket Resolution Summary Owner Reporter
#12426 notabug jquery 1.8.0 $(window).height() and .width() is broken and does not work correctly (Firefox, IE8) Wikinaut Wikinaut
Description

as mentioned in https://github.com/jquery/jquery/pull/764#issuecomment-8120831 the function of $(window) is broken compared to jquery 1.7.2

How to reproduce

================

See code in http://dpaste.com/hold/793316/

When running 1.7.2 everything is perfect.

When running 1.8.0 IE8 returns $(window).height() and .width() == 0 (zero)

When running 1.8.0 Firefox returns $(window).height()= 8 or random values, and .width() okay (zero)

So please check your 1.8.0 code for $(window). The jquery 1.8.0 is broken !

See http://stackoverflow.com/questions/1860524/javascript-how-to-find-out-width-and-height-of-viewpoint-in-browser-window for a *working* solution, tested with Safari, Firefox 14, Firefox 15, IE8, Firefox 10 ESR

#12437 notabug .on() not working on version 1.8.1 after ajax call jgleiser jgleiser
Description

I have the following code before the $.ajax function

var resultados = $("#resultados-filtro");

resultados.find(".list-pager").on("click",'a',function(e){e.preventDefault();});

resultados.find('.ver-detalles').on('click', function(e){e.preventDefault();});

resultados.find('.comparar').on('click', function(e){e.preventDefault();});

And I have the following function inside an $.ajax call after success

success: function(data, textStatus, jqXHR){

resultados.find(".list-pager").off("click",'a');

resultados.find('.ver-detalles').off('click');

resultados.find('.comparar').off('click');

resultados.html($(data).find("#tabla-resultados"));

resultados.find(".list-pager").on("click",'a',function(e){e.preventDefault();});

resultados.find('.ver-detalles').on('click', function(e){e.preventDefault();});

resultados.find('.comparar').on('click', function(e){e.preventDefault();});

}

The problem is that after the ajax call, the .on() events doesn´t register. It works with jquery 1.8.0 and olders but in 1.8.1 I get the href from elements fired instead the preventDefault().

#12441 notabug .toggle() not working properly with selected descendants that aren't in the DOM Ardemus
Description

I expect the following code to result in hidden objects.

$Anything.detatch().find('.visibleThings').toggle()
$('body').append($Anything);

However, the appended objects will be visible. All of the versions of jQuery on jsFiddle behaved the same way.

Example Code: http://jsfiddle.net/Ardemus/cYNy5/4/

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Note: See TracQuery for help on using queries.