Bug #3197273 Creating table with error does not show anything
This commit is contained in:
@@ -1821,6 +1821,8 @@ $(document).ready(function() {
|
|||||||
$('#properties_message')
|
$('#properties_message')
|
||||||
.addClass('error')
|
.addClass('error')
|
||||||
.html(data.error);
|
.html(data.error);
|
||||||
|
// scroll to the div containing the error message
|
||||||
|
$('#properties_message')[0].scrollIntoView();
|
||||||
}
|
}
|
||||||
}) // end $.post()
|
}) // end $.post()
|
||||||
} // end if ($form.hasClass('ajax')
|
} // end if ($form.hasClass('ajax')
|
||||||
|
Reference in New Issue
Block a user