Merge pull request #1 from xBorderie/patch-1
// blocktopmenu: better wording.
This commit is contained in:
@@ -50,10 +50,10 @@ function add()
|
||||
text = text.replace(/(^\s*)|(\s*$)/gi,"");
|
||||
if (val == "PRODUCT")
|
||||
{
|
||||
val = prompt('{l s="Set ID product" mod='blocktopmenu' js=1}');
|
||||
val = prompt('{l s="Indicate the ID number for the product" mod='blocktopmenu' js=1}');
|
||||
if (val == null || val == "" || isNaN(val))
|
||||
return;
|
||||
text = '{l s="Product ID" mod='blocktopmenu' js=1}'+val;
|
||||
text = '{l s="Product ID #" mod='blocktopmenu' js=1}'+val;
|
||||
val = "PRD"+val;
|
||||
}
|
||||
$("#items").append('<option value="'+val+'" selected="selected">'+text+'</option>');
|
||||
|
||||
Reference in New Issue
Block a user