Planck » History » Version 6
« Previous -
Version 6/14
(diff) -
Next » -
Current version
Anonymous, 13/04/2015 11:43
Planck¶
CreateFits¶
Remove the url of an HTML page shown in the panel header¶
When a static HTML file is embedded into a Sitools2 page, the URL of the file is shown to the public in the header of the panel:
In order to prevent this and/or to customize the text to display in the header, edit the title
attribute of the method showDisplayableUrl()
, defined in the file:
source:git_sitools_idoc|szcluster-db/workspace/client-user/js/components/dataviews/dataviewUtils.js@master#L403
showDisplayableUrl : function (value, isDisplayable, customConfig) {
if (isDisplayable) {
if (customConfig) {
var windowConfig = customConfig;
}
else {
var windowConfig = {
title : "Preview", //value,
id : value,
iconCls : "version"
};
}
}
In the above example, the title of the panel has been set to 'Preview'.