r105712 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r105711‎ | r105712 | r105713 >
Date:20:44, 9 December 2011
Author:tparscal
Status:deferred
Tags:
Comment:
Reset location input between opening the link inspector
Modified paths:
  • /trunk/extensions/VisualEditor/modules/es/inspectors/es.LinkInspector.js (modified) (history)

Diff [purge]

Index: trunk/extensions/VisualEditor/modules/es/inspectors/es.LinkInspector.js
@@ -53,6 +53,8 @@
5454 var title = this.getTitleFromSelection();
5555 if ( title !== null ) {
5656 this.$locationInput.val( title );
 57+ } else {
 58+ this.$locationInput.val( '' );
5759 }
5860 this.$locationInput.focus();
5961 };

Status & tagging log