/** * Editable Poshytip * --------------------- * requires jquery.poshytip.js */ (function ($) { "use strict"; //extend methods $.extend($.fn.editableContainer.Popup.prototype, { containerName: 'poshytip', innerCss: 'div.tip-inner', initContainer: function(){ this.handlePlacement(); $.extend(this.containerOptions, { showOn: 'none', content: '', alignTo: 'target' }); this.call(this.containerOptions); }, /* Overwrite totally show() method as poshytip requires content is set before show */ show: function (closeAll) { this.$element.addClass('editable-open'); if(closeAll !== false) { //close all open containers (except this) this.closeOthers(this.$element[0]); } //render form this.$form = $('
'); this.renderForm(); var $label = $('