Permalink
Browse files

gallery-2014.02.20-06-27 jafl gallery-bulkedit

  • Loading branch information...
1 parent bb87c08 commit 12363fb6f7b66b8e0cea0205821bed08e1a49037 @ekashida ekashida committed Feb 20, 2014
@@ -2863,15 +2863,14 @@ function moveFocus(e)
var field = this.getFieldElement(id, info.field_key);
if (field)
{
+ field.focus();
try
{
- field.focus();
field.select();
}
catch (ex)
{
- // no way to determine in IE if focus will fail
- // no way to determine if browser allows focus to select elements
+ // select elements don't support select()
}
}
}
@@ -3028,7 +3027,7 @@ Y.extend(HTMLTableBulkEditor, BulkEditor,
Y.HTMLTableBulkEditor = HTMLTableBulkEditor;
-}, 'gallery-2013.10.09-22-56', {
+}, 'gallery-2014.02.20-06-27', {
"skinnable": "true",
"requires": [
"widget",
@@ -2861,15 +2861,14 @@ function moveFocus(e)
var field = this.getFieldElement(id, info.field_key);
if (field)
{
+ field.focus();
try
{
- field.focus();
field.select();
}
catch (ex)
{
- // no way to determine in IE if focus will fail
- // no way to determine if browser allows focus to select elements
+ // select elements don't support select()
}
}
}
@@ -3025,7 +3024,7 @@ Y.extend(HTMLTableBulkEditor, BulkEditor,
Y.HTMLTableBulkEditor = HTMLTableBulkEditor;
-}, 'gallery-2013.10.09-22-56', {
+}, 'gallery-2014.02.20-06-27', {
"skinnable": "true",
"requires": [
"widget",
@@ -212,15 +212,14 @@ function moveFocus(e)
var field = this.getFieldElement(id, info.field_key);
if (field)
{
+ field.focus();
try
{
- field.focus();
field.select();
}
catch (ex)
{
- // no way to determine in IE if focus will fail
- // no way to determine if browser allows focus to select elements
+ // select elements don't support select()
}
}
}
Oops, something went wrong. Retry.

0 comments on commit 12363fb

Please sign in to comment.