Merge remote-tracking branch 'origin/QA_4_1' into QA_4_1
This commit is contained in:
commit
acd471b590
@ -294,6 +294,13 @@ var AJAX = {
|
||||
}
|
||||
|
||||
if (data._selflink) {
|
||||
|
||||
var source = data._selflink.split('?')[0];
|
||||
//Check for faulty links
|
||||
if (source == "import.php") {
|
||||
var replacement = "tbl_sql.php";
|
||||
data._selflink = data._selflink.replace(source,replacement);
|
||||
}
|
||||
$('#selflink > a').attr('href', data._selflink);
|
||||
}
|
||||
if (data._scripts) {
|
||||
|
||||
@ -1389,6 +1389,8 @@ AJAX.registerOnload('functions.js', function () {
|
||||
});
|
||||
|
||||
$("input#sql_query_edit_save").live('click', function () {
|
||||
$(".success").hide();
|
||||
//hide already existing success message
|
||||
var sql_query;
|
||||
if (codemirror_inline_editor) {
|
||||
sql_query = codemirror_inline_editor.getValue();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user