summaryrefslogtreecommitdiff
path: root/lib/scripts/fileuploaderextended.js
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2015-07-15 16:11:46 +0200
committerAndreas Gohr <andi@splitbrain.org>2015-07-15 16:11:46 +0200
commitd4de18edf7fafb4241c8856b6ace1a4dce285930 (patch)
treec7af69590604fdae96522ef26cdbd8cf18dc8d89 /lib/scripts/fileuploaderextended.js
parenta1bc634ed7cd39d59f82797896dc5f42f753f527 (diff)
parent768d185262d4b53b1717808417c33fdd1ab64797 (diff)
downloadrpg-d4de18edf7fafb4241c8856b6ace1a4dce285930.tar.gz
rpg-d4de18edf7fafb4241c8856b6ace1a4dce285930.tar.bz2
Merge pull request #1231 from splitbrain/kill-all-input-buttons
Changed all input buttons to button buttons
Diffstat (limited to 'lib/scripts/fileuploaderextended.js')
-rw-r--r--lib/scripts/fileuploaderextended.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/scripts/fileuploaderextended.js b/lib/scripts/fileuploaderextended.js
index f5786c387..d6a82397d 100644
--- a/lib/scripts/fileuploaderextended.js
+++ b/lib/scripts/fileuploaderextended.js
@@ -82,7 +82,7 @@ qq.FileUploaderExtended = function(o){
'<div class="qq-upload-button">' + LANG.media_select + '</div>' +
'<ul class="qq-upload-list"></ul>' +
'<div class="qq-action-container">' +
- ' <input class="qq-upload-action button" type="submit" value="' + LANG.media_upload_btn + '" id="mediamanager__upload_button">' +
+ ' <button class="qq-upload-action" type="submit" id="mediamanager__upload_button">' + LANG.media_upload_btn + '</button>' +
' <label class="qq-overwrite-check"><input type="checkbox" value="1" name="ow" class="dw__ow"> <span>' + LANG.media_overwrt + '</span></label>' +
'</div>' +
'</div>',
@@ -189,7 +189,7 @@ qq.extend(qq.FileUploaderExtended.prototype, {
var button = '<form method="post" action="' + action + '" id="mediamanager__done_form"><div>';
button += '<input type="hidden" value="' + result.ns + '" name="ns">';
button += '<input type="hidden" value="1" name="recent">';
- button += '<input class="button" type="submit" value="' + LANG.media_done_btn + '"></div></form>';
+ button += '<button type="submit">' + LANG.media_done_btn + '</button></div></form>';
jQuery('#mediamanager__uploader').append(button);
}
}