// validate first...
_this.project_id.el.get_style_context().remove_class("warning");
- if (_this.project_id.getProjectId() == "") {
+ if (_this.project_id.selectedProjectId() == "") {
_this.project_id.el.get_style_context().add_class("warning");
invalid = true;
}