mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
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:
@@ -13,16 +13,16 @@
|
|||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
|
|
||||||
(function () {
|
(function ($) {
|
||||||
$('#databaseType').change(function () {
|
$('#databaseType').change(function () {
|
||||||
$('.databaseTypeHint').hide();
|
$('.databaseTypeHint').hide();
|
||||||
$('#databaseType' + $(this).val()).show();
|
$('#databaseType' + $(this).val()).show();
|
||||||
});
|
});
|
||||||
|
|
||||||
// This is to get right info after postback
|
// This is to get right info after postback
|
||||||
$('.databaseTypeHint').hide();
|
$('.databaseTypeHint').hide();
|
||||||
$('#databaseType' + $(this).val()).show();
|
$('#databaseType' + $(this).val()).show();
|
||||||
})();
|
})(jQuery);
|
||||||
|
|
||||||
(function ($) {
|
(function ($) {
|
||||||
$("select.recipe").change(function () { // class="recipe" on the select element
|
$("select.recipe").change(function () { // class="recipe" on the select element
|
||||||
|
Reference in New Issue
Block a user