summaryrefslogtreecommitdiff
path: root/modules/gallery/views
diff options
context:
space:
mode:
authorNathan Kinkade <nath@nkinka.de>2012-04-16 21:42:16 +0000
committerNathan Kinkade <nath@nkinka.de>2012-04-16 21:42:16 +0000
commita13fd7f373f3718037a2ce90a3cb408f24856602 (patch)
treec3db8fc6addfe5d3c6718d33e8fec024ef960318 /modules/gallery/views
parentb95f4776fd6999242435d547c29944861e1c2c41 (diff)
parenta6a07c8580aa09063e39c407922a2cc197b4f05c (diff)
Merge branch 'master' of git://github.com/gallery/gallery3
Diffstat (limited to 'modules/gallery/views')
-rw-r--r--modules/gallery/views/admin_advanced_settings.html.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/gallery/views/admin_advanced_settings.html.php b/modules/gallery/views/admin_advanced_settings.html.php
index d4f646f8..8d21d890 100644
--- a/modules/gallery/views/admin_advanced_settings.html.php
+++ b/modules/gallery/views/admin_advanced_settings.html.php
@@ -43,9 +43,9 @@
var filter = $(this).attr("value");
if (filter) {
$("tr.setting-row").fadeOut("fast");
- $("tr.setting-row td:contains(" + filter + "), tr.setting-row td a:contains(" + filter + ")").each(function() {
- if ($(this).children().length < 1) {
- $(this).closest("tr").stop().show();
+ $("tr.setting-row").each(function() {
+ if ($(this).text().indexOf(filter) > 0) {
+ $(this).stop().show();
}
});
} else {