|
@ -986,9 +986,9 @@ function getClassFromScope() { |
|
|
return 'tScopeGlobal'; |
|
|
return 'tScopeGlobal'; |
|
|
} |
|
|
} |
|
|
if ( matrixSnapshot.scope === matrixSnapshot.domain ) { |
|
|
if ( matrixSnapshot.scope === matrixSnapshot.domain ) { |
|
|
return 'tScopeNarrow'; |
|
|
|
|
|
|
|
|
return 'tScopeDomain'; |
|
|
} |
|
|
} |
|
|
return 'tScopeNarrow'; |
|
|
|
|
|
|
|
|
return 'tScopeSite'; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
function initScopeCell() { |
|
|
function initScopeCell() { |
|
@ -1009,7 +1009,7 @@ function initScopeCell() { |
|
|
|
|
|
|
|
|
function updateScopeCell() { |
|
|
function updateScopeCell() { |
|
|
uDom('body') |
|
|
uDom('body') |
|
|
.removeClass('tScopeGlobal tScopeNarrow') |
|
|
|
|
|
|
|
|
.removeClass('tScopeGlobal tScopeDomain tScopeSite') |
|
|
.addClass(getClassFromScope()); |
|
|
.addClass(getClassFromScope()); |
|
|
uDom('#scopeCell').text(matrixSnapshot.scope.replace('*', '\u2217')); |
|
|
uDom('#scopeCell').text(matrixSnapshot.scope.replace('*', '\u2217')); |
|
|
} |
|
|
} |
|
|