summaryrefslogtreecommitdiff
path: root/lib/scripts/media.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/media.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/media.js')
-rw-r--r--lib/scripts/media.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/scripts/media.js b/lib/scripts/media.js
index 8ca21ecab..2995addfd 100644
--- a/lib/scripts/media.js
+++ b/lib/scripts/media.js
@@ -119,7 +119,7 @@ var dw_mediamanager = {
$both = $listType.add($sortBy);
// Remove the submit button
- $options.find('input[type=submit]').parent().hide();
+ $options.find('button[type=submit]').parent().hide();
// Prepare HTML for jQuery UI buttonset
$both.find('label').each(function () {
@@ -435,7 +435,7 @@ var dw_mediamanager = {
dw_mediamanager.$resizables().resizable('destroy');
if (update_list) {
- dw_mediamanager.list.call(jQuery('#mediamanager__page form.options input[type="submit"]')[0]);
+ dw_mediamanager.list.call(jQuery('#mediamanager__page form.options button[type="submit"]')[0]);
}
$content.html(data);