File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
src/main/webapp/static/com/atomgraph/linkeddatahub/xsl/bootstrap/2.3.2/client Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -406,7 +406,7 @@ exclude-result-prefixes="#all"
406406
407407 <!-- show block controls -->
408408
409- <xsl : template match =" div[contains-token(@class, 'block')]" mode =" ixsl:onmousemove" > <!-- TO-DO: better selector -->
409+ <xsl : template match =" div[contains-token(@class, 'block')][acl:mode() = '&acl;Write'] " mode =" ixsl:onmousemove" > <!-- TO-DO: better selector -->
410410 <xsl : variable name =" dom-x" select =" ixsl:get(ixsl:event(), 'clientX')" as =" xs:double" />
411411 <xsl : variable name =" dom-y" select =" ixsl:get(ixsl:event(), 'clientY')" as =" xs:double" />
412412 <xsl : variable name =" rect" select =" ixsl:call(., 'getBoundingClientRect', [])" />
@@ -415,10 +415,6 @@ exclude-result-prefixes="#all"
415415 <xsl : variable name =" width" select =" ixsl:get($rect, 'width')" as =" xs:double" />
416416 <xsl : variable name =" offset-x-treshold" select =" 120" as =" xs:double" />
417417 <xsl : variable name =" offset-y-treshold" select =" 20" as =" xs:double" />
418-
419- <!-- <xsl:message>
420- .block onmousemove @id: <xsl:value-of select="@id"/> $offset-y: <xsl:value-of select="$offset-y"/>
421- </xsl:message>-->
422418
423419 <xsl : variable name =" row-block-controls" select =" key('elements-by-class', 'row-block-controls', .)" as =" element()" />
424420 <!-- check that the mouse is on the top edge and show the block controls if they're not already shown -->
You can’t perform that action at this time.
0 commit comments