File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
services/static-webserver/client/source/class/osparc/utils Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -249,6 +249,18 @@ qx.Class.define("osparc.utils.Utils", {
249249 // window.location.href = window.location.href.replace(/#.*$/, "");
250250 } ,
251251
252+ reloadNoCacheButton : function ( ) {
253+ const reloadButton = new qx . ui . form . Button ( ) . set ( {
254+ label : this . tr ( "Reload" ) ,
255+ icon : "@FontAwesome5Solid/redo/14" ,
256+ } ) ;
257+ reloadButton . addListener ( "execute" , ( ) => {
258+ const noCacheUrl = window . location . href + "?qooxdoo:add-no-cache=true" ;
259+ console . log ( "noCacheUrl" , noCacheUrl ) ;
260+ } ) ;
261+ return reloadButton ;
262+ } ,
263+
252264 getUniqueStudyName : function ( preferredName , list ) {
253265 let title = preferredName ;
254266 const existingTitles = list . map ( study => study . name ) ;
You can’t perform that action at this time.
0 commit comments