diff --git a/capsule-prototype/js/PopupPanelWidget.js b/capsule-prototype/js/PopupPanelWidget.js index 149e3c5ca42a77a10ed1d28c518ff399d29becf1..ad296ed3e510a946ecb387a9949430c3ea542890 100644 --- a/capsule-prototype/js/PopupPanelWidget.js +++ b/capsule-prototype/js/PopupPanelWidget.js @@ -188,7 +188,7 @@ TCPanelInputEditor.prototype.appendInputEditorDiv = function (parentDiv) { event.stopPropagation(); that.openEdition.call(that); }) - .css("background", that.tag.color);; + .css("background", that.tag.color); this.popupTcInDiv = $('<div>'); this.popupTcInDiv @@ -426,6 +426,7 @@ LinkPanelInputEditor.prototype.appendInputEditorDiv = function (parentDiv) { that.closeEdition(); } }) + .val(linkValue) .hide(); parentDiv.append(this.editDiv); @@ -736,7 +737,6 @@ function PopupPanelWidget(data) { this.currentOpenedInput = undefined; this.videoWasPlayingOnContentCreation = false; } - PopupPanelWidget.prototype.getCurrentOpenedInput = function () { return this.currentOpenedInput; } @@ -931,12 +931,10 @@ PopupPanelWidget.prototype.createPopupContent = function (tag) { that.ensureLastOpenedEditionClosed(); }); } - PopupPanelWidget.prototype.show = function() { $("#popupSpace").show(); $("#popupEdit").show(); } - PopupPanelWidget.prototype.close = function() { this.ensureLastOpenedEditionClosed(); $("#popupSpace").hide();