if (this.datas.form == 'bulle') {
this.form = new FluidbookBulleForm(this);
+ } else if (this.datas.form == 'bourbon') {
+ this.form = new FluidbookBourbonForm(this);
} else {
this.form == false;
}
--- /dev/null
+function FluidbookBourbonForm(fluidbook) {
+ this.fluidbook = fluidbook;
+ this.init();
+}
+
+FluidbookBourbonForm.prototype = {
+ init: function () {
+ var $this = this;
+
+ this.fluidbook.menu.openSuggest = this.openSuggest;
+
+ },
+
+ openSuggest: function (p1, p2, callback) {
+
+ callback();
+ }
+};
\ No newline at end of file