From 9c7fffcb24ee991e5a9df845e21f9c6e588cb426 Mon Sep 17 00:00:00 2001 From: Offray Luna Date: Tue, 20 Sep 2016 17:39:46 +0000 Subject: [PATCH] Updating for the new minor version. --- repository/Grafoscopio/GrafoscopioNotebook.class.st | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/repository/Grafoscopio/GrafoscopioNotebook.class.st b/repository/Grafoscopio/GrafoscopioNotebook.class.st index a48f5c8..478b5d1 100644 --- a/repository/Grafoscopio/GrafoscopioNotebook.class.st +++ b/repository/Grafoscopio/GrafoscopioNotebook.class.st @@ -556,15 +556,14 @@ GrafoscopioNotebook >> updateBodyFor: aNodeContainer [ { #category : #operation } GrafoscopioNotebook >> updateForSpecialHeader [ - "I see if a node header is an ulr located at 'http://ws.stfx.eu', wich means that is a shared + "I see if a node header is an url located at 'http://ws.stfx.eu', wich means that is a shared workspace, and convert the node body to an interactive playground" - | currentNode nodeContent | currentNode := tree highlightedItem. currentNode ifNil: [ ^ self ]. nodeContent := currentNode content. - nodeContent header asUrl host = 'ws.stfx.eu' - ifFalse: [ ^ self ]. + nodeContent header isAsciiString ifFalse: [ ^ self ]. + nodeContent header asUrl host = 'ws.stfx.eu' ifFalse: [ ^ self ]. nodeContent body: (ZnClient new get: nodeContent header); tagAs: 'código'.