+
+ this.conversation_id = null;
+ var conv_id = this.element.id.match(/\d+$/);
+ if (conv_id) this.conversation_id = conv_id[0];
+ console.log("ACPopup elm id",this.element.id,"conversation",this.conversation_id);
+
+ var w = 530;
+ var h = 130;
+
+
+ if(tinyMCE.activeEditor == null) {
+ style = $(elm).offset();
+ w = $(elm).width();
+ h = $(elm).height();
+ }
+ else {
+ // I can't find an "official" way to get the element who get all
+ // this fraking thing that is tinyMCE.
+ // This code will broke again at some point...
+ var container = $(tinyMCE.activeEditor.getContainer()).find("table");
+ style = $(container).offset();
+ w = $(container).width();
+ h = $(container).height();
+ }
+