},
{
"listeners" : {
- "clicked" : "() => {\n\tGLib.debug(\"fire response = 1\");\n\t_this.el.response(1);\n}"
+ "clicked" : "() => {\n\tGLib.debug(\"fire response = 1\");\n\t\n\t\n\tvar invalid = true;\n\t\n\t// validate first...\n\tthis.el.get_style_context().add_class(\"suggested-action\");\n\t\n\t\n\t\n\t\n\t\n\t_this.el.response(1);\n}"
},
"label" : "Create Ticket",
"* init" : "{\n this.el.get_style_context().add_class(\"suggested-action\");\n}\n",
//listeners
this.el.clicked.connect( () => {
GLib.debug("fire response = 1");
+
+
+ var invalid = true;
+
+ // validate first...
+ this.el.get_style_context().add_class("suggested-action");
+
+
+
+
+
_this.el.response(1);
});
}