Browse Source

sync with master

Nicolas Petton 12 years ago
parent
commit
b5e399e66b
2 changed files with 5 additions and 5 deletions
  1. 1 1
      js/IDE.deploy.js
  2. 4 4
      js/IDE.js

+ 1 - 1
js/IDE.deploy.js

@@ -554,7 +554,7 @@ smalltalk.method({
 selector: 'open',
 fn: function (){
 var self=this;
-smalltalk.send(smalltalk.send(self, "_current", []), "_open", []);
+(function($rec){smalltalk.send($rec, "_open", []);return smalltalk.send($rec, "_selectTab_", [smalltalk.send(self, "_current", [])]);})(smalltalk.send((smalltalk.TabManager || TabManager), "_current", []));
 return self;}
 }),
 smalltalk.Transcript.klass);

+ 4 - 4
js/IDE.js

@@ -739,11 +739,11 @@ selector: 'open',
 category: 'instance creation',
 fn: function (){
 var self=this;
-smalltalk.send(smalltalk.send(self, "_current", []), "_open", []);
+(function($rec){smalltalk.send($rec, "_open", []);return smalltalk.send($rec, "_selectTab_", [smalltalk.send(self, "_current", [])]);})(smalltalk.send((smalltalk.TabManager || TabManager), "_current", []));
 return self;},
-source: unescape('open%0A%20%20%20%20self%20current%20open'),
-messageSends: ["open", "current"],
-referencedClasses: []
+source: unescape('open%0A%20%20%20%20TabManager%20current%20%0A%09open%3B%0A%09selectTab%3A%20self%20current'),
+messageSends: ["open", "selectTab:", "current"],
+referencedClasses: [smalltalk.TabManager]
 }),
 smalltalk.Transcript.klass);