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