From a93e52aadec040a0d172f861d1b9b642c6531569 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Tue, 21 Apr 2015 19:54:33 -0400 Subject: [PATCH] fixed cold load database switcher for installer --- public/src/installer/install.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/src/installer/install.js b/public/src/installer/install.js index 2407c95a02..8d9f8c5c90 100644 --- a/public/src/installer/install.js +++ b/public/src/installer/install.js @@ -22,7 +22,7 @@ $('document').ready(function() { activate($(this).attr('name'), $(this)); }); - activate($('[name="database"]').val(), $('[name="database"]')); + activate('database', $('[name="database"]')); } function activate(type, el) { @@ -67,6 +67,7 @@ $('document').ready(function() { } function switchDatabase(field) { + console.log(field); $('#database-config').html($('[data-database="' + field + '"]').html()); }