From f2943791da28d6700b459b92ab4c657402013af8 Mon Sep 17 00:00:00 2001
From: mcramer <m.cramer@pixcept.de>
Date: Fri, 19 Oct 2012 11:08:28 -0400
Subject: [PATCH] Fixed: Flags are missing on some country selectors
---
interface/web/js/jquery.tipsy.js | 2 +-
interface/web/sites/templates/web_domain_edit.htm | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/interface/web/js/jquery.tipsy.js b/interface/web/js/jquery.tipsy.js
index 7ce677c..bd52335 100644
--- a/interface/web/js/jquery.tipsy.js
+++ b/interface/web/js/jquery.tipsy.js
@@ -278,7 +278,7 @@
")(?![^<>]*>)(?![^&;]+;)", "gi"
), "<strong>$1</strong>" )),
value: text,
- class: (select.hasClass('flags') ? 'country-' + $(this).val() : $(this).attr('class')),
+ class: (select.hasClass('flags') ? 'country-' + $(this).val().toUpperCase() : $(this).attr('class')),
option: this
};
}) );
diff --git a/interface/web/sites/templates/web_domain_edit.htm b/interface/web/sites/templates/web_domain_edit.htm
index 7d3722e..7d519d6 100644
--- a/interface/web/sites/templates/web_domain_edit.htm
+++ b/interface/web/sites/templates/web_domain_edit.htm
@@ -205,6 +205,7 @@
jQuery('#php option[value="mod"]').show();
jQuery('#php option[value="suphp"]').show();
}
+ jQuery('#php').change();
});
}
@@ -225,7 +226,7 @@
}
options += '<option value="'+key+'"'+phpfastcgiselected+'>'+val+'</option>';
});
- $('#fastcgi_php_version').html(options);
+ $('#fastcgi_php_version').html(options).change();
});
}
--
Gitblit v1.9.1