Fixing Issue #13584, adjusting create table input when import config notification is present
Signed-off-by: Ryan Lanese <rlanese@asu.edu>
This commit is contained in:
parent
7fe393aea1
commit
aa7434096b
11
js/config.js
11
js/config.js
@ -618,8 +618,19 @@ function setupConfigTabs() {
|
||||
});
|
||||
}
|
||||
|
||||
function adjustPrefsNotification() {
|
||||
var $prefsAutoLoad = $('#prefs_autoload');
|
||||
var $tableNameControl = $('#table_name_col_no');
|
||||
var $prefsAutoShowing = ($prefsAutoLoad.css('display') !== 'none');
|
||||
|
||||
if ($prefsAutoShowing && $tableNameControl.length) {
|
||||
$tableNameControl.css('top', '120px');
|
||||
}
|
||||
}
|
||||
|
||||
AJAX.registerOnload('config.js', function () {
|
||||
setupConfigTabs();
|
||||
adjustPrefsNotification();
|
||||
|
||||
// tab links handling, check each 200ms
|
||||
// (works with history in FF, further browser support here would be an overkill)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user