don't submit editor forms with creation lock (was possible using hotkey)
This commit is contained in:
parent
7db507b35d
commit
49c484eff8
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ editor = {
|
|||
_sidebar_submit: function(e) {
|
||||
// listener for form submits in the sidebar.
|
||||
e.preventDefault();
|
||||
if (editor._loading_geometry) return;
|
||||
if (editor._loading_geometry || $(this).is('.creation-lock')) return;
|
||||
var data = $(this).serialize();
|
||||
var btn = $(this).data('btn');
|
||||
if (btn !== undefined && btn !== null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue