Skip to content

isNew method of Model #1

Description

@repocho
        isNew: function () {
            var self = this.getLink('self');
            if (self || this.id) {
                return false;
            } else {
                return true;
            }
        },

Should call the parent ( if(self) -> return call super

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions