Changed the javascript function to handle change of database type in setup module

--HG--
branch : 1.x
extra : transplant_source : fk%98%17%0Ax%E8%09w%A5_%40%5B%22%EC%FFS%17c%E7
This commit is contained in:
Rickard@Rickard-PC
2012-07-29 20:03:36 +02:00
parent 9e527ec6ef
commit 148ada7def

View File

@@ -13,16 +13,16 @@
}
})();
(function () {
$('#databaseType').change(function () {
$('.databaseTypeHint').hide();
$('#databaseType' + $(this).val()).show();
});
(function ($) {
$('#databaseType').change(function () {
$('.databaseTypeHint').hide();
$('#databaseType' + $(this).val()).show();
});
// This is to get right info after postback
$('.databaseTypeHint').hide();
$('#databaseType' + $(this).val()).show();
})();
// This is to get right info after postback
$('.databaseTypeHint').hide();
$('#databaseType' + $(this).val()).show();
})(jQuery);
(function ($) {
$("select.recipe").change(function () { // class="recipe" on the select element