Remove property in oneditsave


I'm trying to remove a property of my new node when the propertydialog is closed. Condition of if-clause is true, but node.code="" does not seem to work; it is still set on the server side after closing and deploying.

oneditsave: function() {
            var node = this;
            if ($("#node-row-code").is(":hidden")) {
                node.code = "";

What could be the problem?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.