Custom Query (7259 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (28 - 30 of 7259)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Ticket Resolution Summary Owner Reporter
#15221 notabug Button disabled when initialized with falsy 0 heinrichmartin
Description

When creating a button with disabled=0 then ui-state-disabled is applied.

Minimum Example

<html>
<!--
minimum example of jquery-ui bug:
"disabled" to be strict boolean for css class toggling
-->
<head>
<title>Button</title>
<link rel="stylesheet" type="text/css" href="jquery-ui-1.12.1/jquery-ui.css"></link>
</head>
<body>
<h1>Note that ui-state-disabled and ui-button-disabled are out-of-sync on the first button</h1>
<button>I am enabled</button>
<button>Me too</button>
<button>I am disabled</button>
<button>Me too</button>
<script src="jquery-3.2.1.js" type="text/javascript"></script>
<script src="jquery-ui-1.12.1/jquery-ui.js" type="text/javascript"></script>
<script type="text/javascript">
$(function(){
   $('button').eq(0).button({
      disabled: 0
   }).end().eq(1).button({
      disabled: false
   }).end().eq(2).button({
      disabled: 42
   }).end().eq(3).button({
      disabled: true
   });
})
</script>
</body>
</html>

Analysis

jquery-ui.js has three occurrences of calls to _toggleClass with the value of the disabled option being forwarded as-is. Some other occurrences already have the conversion to boolean included.

_toggleClass however uses this parameter for animation when it is not strictly boolean.

I have no build environment for jquery-ui, but I fixed it directly by adding the conversion to boolean "!!".

Workaround

Set option "disabled" to strict boolean.

#15218 notabug Internet Explorer - Slowness with lots of input anthonyherve
Description

Hello,

I have a form with a lot of inputs (approximately 1200) and on Internet Explorer, it's very slow to load (8s). On Chrome and Firefox, it's around 1 second maximum. When I remove inputs, it's very quick.

I don't know what to do to fix this.

Thank you in advcance for your help.

Best regards,

Anthony

#15212 duplicate Tooltip on select options is not handled correctly artdeoich
Description

Tooltip for select options is not handled correctly.

When tooltip has been initialized :

  • On Firefox the tooltip is displayed under the list using the ui tooltip feature.
  • For all others browsers tooltip is native, always displayed over the list

http://jsfiddle.net/Dp4te/410/

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