PDF Editor: set textfield to ??? to hint at unknown placeholder (Z#2399245)

This commit is contained in:
Richard Schreiber
2022-05-11 13:46:22 +02:00
committed by GitHub
parent 75dc134b45
commit 351e06168e

View File

@@ -286,7 +286,7 @@ var editor = {
} else if (key.startsWith('meta:')) {
return key.substr(5);
}
return $('#toolbox-content option[value='+key+'], #toolbox-content option[data-old-value='+key+']').attr('data-sample') || '';
return $('#toolbox-content option[value='+key+'], #toolbox-content option[data-old-value='+key+']').attr('data-sample') || '???';
},
_load_page: function (page_number, dump) {