From 826518c1e137196da5221e18637243df49c01a4d Mon Sep 17 00:00:00 2001 From: Catrope Date: Mon, 13 Aug 2012 18:03:34 -0700 Subject: [PATCH] Recognize ExtLink/URL and ExtLink/Numbered in LinkInspector Change-Id: Ib13fd3396132695a844db6151296c52fa5f96032 --- modules/ve/ui/inspectors/ve.ui.LinkInspector.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/ve/ui/inspectors/ve.ui.LinkInspector.js b/modules/ve/ui/inspectors/ve.ui.LinkInspector.js index 16292f0512..1c6a721f85 100644 --- a/modules/ve/ui/inspectors/ve.ui.LinkInspector.js +++ b/modules/ve/ui/inspectors/ve.ui.LinkInspector.js @@ -84,7 +84,9 @@ ve.ui.LinkInspector.prototype.getFirstLinkAnnotation = function ( annotations ) // Use the first one with a recognized type (there should only be one, this is just in case) if ( annotations[hash].type === 'link/WikiLink' || - annotations[hash].type === 'link/ExtLink' + annotations[hash].type === 'link/ExtLink' || + annotations[hash].type === 'link/ExtLink/Numbered' || + annotations[hash].type === 'link/ExtLink/URL' ) { return annotations[hash]; }