diff --git a/forms/AjaxUniqueTextField.php b/forms/AjaxUniqueTextField.php index ffdadde24..b8b73d627 100644 --- a/forms/AjaxUniqueTextField.php +++ b/forms/AjaxUniqueTextField.php @@ -47,7 +47,7 @@ class AjaxUniqueTextField extends TextField { 'id' => $this->id(), 'name' => $this->getName(), 'value' => $this->Value(), - 'tabindex' => $this->getTabIndex(), + 'tabindex' => $this->getAttribute('tabindex'), 'maxlength' => ($this->maxLength) ? $this->maxLength : null ); diff --git a/forms/SimpleImageField.php b/forms/SimpleImageField.php index 112caacc4..dc9d918a2 100644 --- a/forms/SimpleImageField.php +++ b/forms/SimpleImageField.php @@ -102,7 +102,7 @@ class SimpleImageField extends FileField { "type" => "file", "name" => $this->name, "id" => $this->id(), - "tabindex" => $this->getTabIndex(), + "tabindex" => $this->getAttribute('tabindex'), 'disabled' => $this->disabled ) ); @@ -111,7 +111,7 @@ class SimpleImageField extends FileField { "type" => "hidden", "name" => "MAX_FILE_SIZE", "value" => $this->getValidator()->getAllowedMaxFileSize(), - "tabindex" => $this->getTabIndex() + "tabindex" => $this->getAttribute('tabindex'), ) ); $html .= ""; diff --git a/templates/AssetUploadField.ss b/templates/AssetUploadField.ss index 066173c1e..ab4a43314 100644 --- a/templates/AssetUploadField.ss +++ b/templates/AssetUploadField.ss @@ -10,7 +10,7 @@
diff --git a/templates/UploadField.ss b/templates/UploadField.ss index 7cb6a053b..8e09c53aa 100644 --- a/templates/UploadField.ss +++ b/templates/UploadField.ss @@ -45,7 +45,7 @@ <% if not $config.autoUpload %>