diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2013-11-04 18:25:40 +0100 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2014-01-21 12:04:03 +0100 |
commit | 6f9c7eb5f8437463772fad83c506727825454b72 (patch) | |
tree | 340f6f8f754e29ceaa87c20ec6cf8e1cd7398d98 /install/ui/src/freeipa/widget.js | |
parent | 38cb39b67f0f504048ecfb9700db28f413e0d570 (diff) | |
download | freeipa.git-6f9c7eb5f8437463772fad83c506727825454b72.tar.gz freeipa.git-6f9c7eb5f8437463772fad83c506727825454b72.tar.xz freeipa.git-6f9c7eb5f8437463772fad83c506727825454b72.zip |
Update jQuery to version 2.0.3
https://fedorahosted.org/freeipa/ticket/2811
Diffstat (limited to 'install/ui/src/freeipa/widget.js')
-rw-r--r-- | install/ui/src/freeipa/widget.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/install/ui/src/freeipa/widget.js b/install/ui/src/freeipa/widget.js index 7b0005ad..6fc8be24 100644 --- a/install/ui/src/freeipa/widget.js +++ b/install/ui/src/freeipa/widget.js @@ -25,6 +25,7 @@ define(['dojo/_base/array', 'dojo/_base/lang', 'dojo/Evented', + 'dojo/has', 'dojo/keys', 'dojo/on', './builder', @@ -34,7 +35,7 @@ define(['dojo/_base/array', './reg', './text' ], - function(array, lang, Evented, keys, on, builder, IPA, $, phases, reg, text) { + function(array, lang, Evented, has, keys, on, builder, IPA, $, phases, reg, text) { /** * Widget module @@ -2264,7 +2265,7 @@ IPA.table_widget = function (spec) { that.tbody = $('<tbody/>').appendTo(that.table); // workaround for #2835 - if ($.browser.msie) { + if (has('ie')) { that.tbody.mousedown(function(event) { that.scroll_top = that.tbody.scrollTop(); window.setTimeout(function() { @@ -3135,13 +3136,13 @@ IPA.combobox_widget = function(spec) { that.list = $('<select/>', { name: 'list', - size: that.size, style: 'width: 100%', keydown: that.list_on_keydown, keyup: that.list_on_keyup, change: that.list_on_change, blur: that.list_child_on_blur }).appendTo(div); + that.list.prop('size', that.size); if (that.undo) { that.create_undo(container); |