clearing custom Label name after adding

This commit is contained in:
Naomi 2013-08-22 14:23:07 -04:00
parent fa6de28bcf
commit 5c0ba2e79b
1 changed files with 3 additions and 1 deletions

View File

@ -101,9 +101,11 @@ var AIRTIME = (function(AIRTIME) {
$templateDiv.on("click", ".template_item_add button", function() {
var $div = $(this).parents("div.template_item_add"),
label = $div.find("input").val(),
$input = $div.find("input"),
label = $input.val(),
name;
$input.val("");
//create a string name that will work for all languages.
name = randomString(10);