forked from OpenNeo/impress
if user submits outfits#new name form with no name, use the fallback job
This commit is contained in:
parent
eda80a8dc7
commit
b429c30d3b
1 changed files with 7 additions and 0 deletions
|
@ -236,6 +236,13 @@ $(function () {
|
||||||
el.text(text).show();
|
el.text(text).show();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$('#load-pet-to-wardrobe').submit(function(e) {
|
||||||
|
if (name_el.val() === "" && Preview.Job.current) {
|
||||||
|
e.preventDefault();
|
||||||
|
Preview.Job.current.visit();
|
||||||
|
}
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
function addDisqusCount() {
|
function addDisqusCount() {
|
||||||
|
|
Loading…
Reference in a new issue