Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2014-12-18 14:26:24 +01:00
commit 7609e040d2
2 changed files with 3 additions and 2 deletions

View File

@ -204,7 +204,7 @@ AJAX.registerOnload('export.js', function () {
*/
function toggle_quick_or_custom()
{
if ($("input[name='quick_or_custom']").length == 0 // custom_no_form option
if ($("input[name='quick_or_custom']").length === 0 // custom_no_form option
|| $("#radio_custom_export").prop("checked") // custom
) {
$("#databases_and_tables").show();

View File

@ -24,7 +24,8 @@ AJAX.registerOnload('server_variables.js', function () {
if ($elm.hasClass('editable') && ! $elm.hasClass('edit')) {
$elm.prepend($editLink.clone().show());
}
})
});
$('#serverVariables').delegate('.var-row', 'mouseleave', function (event) {
$(this).find('a.editLink').remove();
})