Merge remote-tracking branch 'origin/QA_4_1' into QA_4_1

This commit is contained in:
Weblate 2014-02-21 18:25:41 +01:00
commit acd471b590
2 changed files with 9 additions and 0 deletions

View File

@ -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) {

View File

@ -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();