silly alert
This commit is contained in:
parent
d075e3d97f
commit
f56c713c3f
1 changed files with 0 additions and 1 deletions
|
@ -20,7 +20,6 @@
|
||||||
$(function() {
|
$(function() {
|
||||||
$('.templateArticle').click(function() {
|
$('.templateArticle').click(function() {
|
||||||
var id = $(this).attr("data-id");
|
var id = $(this).attr("data-id");
|
||||||
alert(id);
|
|
||||||
$('#articleId').val(id);
|
$('#articleId').val(id);
|
||||||
if ($("#articleName").val().replace(" ", "") === '') {
|
if ($("#articleName").val().replace(" ", "") === '') {
|
||||||
alert("please enter a name for your article.");
|
alert("please enter a name for your article.");
|
||||||
|
|
Loading…
Add table
Reference in a new issue