Correction search and auto update conflict
This commit is contained in:
parent
94e727721b
commit
414d12793a
@ -3,8 +3,8 @@
|
||||
namespace CAUProject3Contact;
|
||||
|
||||
class Config {
|
||||
const SITE_JS_VERSION = '0.03';
|
||||
const SITE_CSS_VERSION = '0.03';
|
||||
const SITE_JS_VERSION = '0.04';
|
||||
const SITE_CSS_VERSION = '0.04';
|
||||
|
||||
const TITLE_HEADER = 'Your contact';
|
||||
const DESCRIPTION_HEADER = 'Manage your contact easly';
|
||||
|
@ -211,8 +211,8 @@ $(document).ready(() => {
|
||||
success: function (data) {
|
||||
contacts = JSON.parse(data).contacts;
|
||||
|
||||
$("table tbody").empty();
|
||||
if ($("#search").val().length <= 0) {
|
||||
$("table tbody").empty();
|
||||
displayContacts(contacts);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user