* 2018-01-04 Piotr Szrajber <piotr.szrajber@hexagongeospatial.com>
Sys.Application.add_init(function() {
- var mscp = Intergraph.WebSolutions.Core.WebClient.Controls.MapStorageControl.prototype;
- var orig_showWorkspacesMenu = mscp._showWorkspacesMenu,
- orig_showWorkspaceMenu = mscp._showWorkspaceMenu,
- orig_showMapsMenu = mscp._showMapsMenu;
+ var mscp = Intergraph.WebSolutions.Core.WebClient.Controls.MapStorageControl.prototype;
+ var orig_showWorkspacesMenu = mscp._showWorkspacesMenu,
+ orig_showWorkspaceMenu = mscp._showWorkspaceMenu,
+ orig_showMapsMenu = mscp._showMapsMenu;
- // user workspaces checkbox
- mscp._showWorkspacesMenu = function(icon) {
- orig_showWorkspacesMenu.call(this, icon);
- this._includeCredentialsWorkspaces.setValue(true);
+ // user workspaces checkbox
+ mscp._showWorkspacesMenu = function(icon) {
+ orig_showWorkspacesMenu.call(this, icon);
+ this._includeCredentialsWorkspaces.setValue(true);
- mscp._showWorkspaceMenu = function(workspace, icon) {
- orig_showWorkspaceMenu.call(this, workspace, icon);
- this._includeCredentialsWorkspaces.setValue(true);
+ mscp._showWorkspaceMenu = function(workspace, icon) {
+ orig_showWorkspaceMenu.call(this, workspace, icon);
+ this._includeCredentialsWorkspaces.setValue(true);
- mscp._showMapsMenu = function(icon) {
- orig_showMapsMenu.call(this, icon);
- this._includeCredentialsMaps.setValue(true);
+ mscp._showMapsMenu = function(icon) {
+ orig_showMapsMenu.call(this, icon);
+ this._includeCredentialsMaps.setValue(true);