From 5da9712276689aa6f2d1bba877459cc9da80e01f Mon Sep 17 00:00:00 2001 From: davide Date: Thu, 15 Nov 2018 16:33:47 +0100 Subject: [PATCH] Location should now stay the same on creation of new part --- parts/static/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parts/static/script.js b/parts/static/script.js index 177732e..4235383 100644 --- a/parts/static/script.js +++ b/parts/static/script.js @@ -33,7 +33,7 @@ function new_entry() { $('table#details tr#partno td input').val(''); $('table#details tr#description td input').val(''); $('input[name=datasheet-url-input]').val(''); - container_onchange(); + // container_onchange(); init_edit(-1); overlay_in(); }