diff --git a/js/makegrid.js b/js/makegrid.js
index a385681250..ad73ba416c 100644
--- a/js/makegrid.js
+++ b/js/makegrid.js
@@ -25,7 +25,8 @@
isEditCellTextEditable: false, // true if current edit cell is editable in the text input box (not textarea)
currentEditCell: null, // reference to
that currently being edited
inEditMode: false, // true if grid is in edit mode
- cellEditHint: '', // text hint when doing grid edit
+ cellEditHint: '', // hint shown when doing grid edit
+ gotoLinkText: 'Go to link', // "Go to link" text
// functions
dragStartRsz: function(e, obj) { // start column resize
@@ -608,6 +609,15 @@
// empty all edit area, then rebuild it based on $td classes
$editArea.empty();
+ // add goto link, if this cell contains a link
+ if ($td.find('a').length > 0) {
+ var gotoLink = document.createElement('div');
+ gotoLink.className = 'goto_link';
+ $(gotoLink).append(g.gotoLinkText + ': ')
+ .append($td.find('a').clone());
+ $editArea.append(gotoLink);
+ }
+
if ($td.is(':not(.not_null)')) {
// append a null checkbox
$editArea.append('