// Added warning for supply orders if there is not at least one warehouse

This commit is contained in:
bMancone
2012-01-02 14:27:31 +00:00
parent 6c865dd54c
commit 59902d47b5
2 changed files with 17 additions and 14 deletions
@@ -268,20 +268,19 @@
$(".import_products_categories").hide();
$("#entitie").html($("#entity > option:selected").text().toLowerCase());
$.getJSON("ajax.php",
{
getAvailableFields:1,
entity: $("#entity").val()
},
function(j)
{
var fields = "";
$("#availableFields").empty();
for (var i = 0; i < j.length; i++)
fields += j[i].field;
$("#availableFields").html(fields);
activeClueTip();
});
$.getJSON("ajax.php", {
getAvailableFields:1,
entity: $("#entity").val()
},
function(j) {
var fields = "";
$("#availableFields").empty();
for (var i = 0; i < j.length; i++)
fields += j[i].field;
$("#availableFields").html(fields);
activeClueTip();
}
);
});
</script>