1
0
Fork 0

- simplification: use gui.dialog_update() command instead of

fgcommand("dialog-update", props.Node.new({}));
- remove lots of trailing spaces
This commit is contained in:
mfranz 2007-08-01 20:06:16 +00:00
parent e092ee9abc
commit 397ee8296f
2 changed files with 13 additions and 18 deletions

View file

@ -32,8 +32,7 @@
{
setprop("/sim/multiplay/chat", lchat);
setprop("/sim/multiplay/chat-compose", "");
fgcommand("dialog-update", props.Node.new({"object-name": "compose",
"dialog-name": "chat"}));
gui.dialog_update("chat", "compose");
}
</script>
</binding>

View file

@ -53,15 +53,13 @@
{
setprop("/sim/multiplay/chat", lchat);
setprop("/sim/multiplay/chat-compose", "");
fgcommand("dialog-update", props.Node.new({"object-name": "compose",
"dialog-name": "chat-full"}));
gui.dialog_update("chat-full", "compose");
}
</script>
</binding>
</button>
</group>
<text>
<label></label>
</text>
@ -91,8 +89,6 @@
</binding>
</button>
<empty><stretch>true</stretch></empty>
</group>
</PropertyList>