mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Javascript indent cleanup
This commit is contained in:
parent
d3758981b4
commit
6175c5408c
@ -85,10 +85,10 @@ InvenTree | {% trans "Company" %} - {{ company.name }}
|
|||||||
|
|
||||||
$('#company-edit').click(function() {
|
$('#company-edit').click(function() {
|
||||||
launchModalForm(
|
launchModalForm(
|
||||||
"{% url 'company-edit' company.id %}",
|
"{% url 'company-edit' company.id %}",
|
||||||
{
|
{
|
||||||
reload: true
|
reload: true
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#company-order-2").click(function() {
|
$("#company-order-2").click(function() {
|
||||||
@ -104,10 +104,10 @@ InvenTree | {% trans "Company" %} - {{ company.name }}
|
|||||||
|
|
||||||
$('#company-delete').click(function() {
|
$('#company-delete').click(function() {
|
||||||
launchModalForm(
|
launchModalForm(
|
||||||
"{% url 'company-delete' company.id %}",
|
"{% url 'company-delete' company.id %}",
|
||||||
{
|
{
|
||||||
redirect: "{% url 'company-index' %}"
|
redirect: "{% url 'company-index' %}"
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
enableDragAndDrop(
|
enableDragAndDrop(
|
||||||
@ -123,11 +123,11 @@ InvenTree | {% trans "Company" %} - {{ company.name }}
|
|||||||
|
|
||||||
$("#company-thumb").click(function() {
|
$("#company-thumb").click(function() {
|
||||||
launchModalForm(
|
launchModalForm(
|
||||||
"{% url 'company-image' company.id %}",
|
"{% url 'company-image' company.id %}",
|
||||||
{
|
{
|
||||||
reload: true
|
reload: true
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
Loading…
Reference in New Issue
Block a user