projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc3ac1f
)
Don't set cursor inside added child when using add_child()
author
Matthew Wild
<mwild1@gmail.com>
Sun, 26 Oct 2008 14:39:52 +0000
(14:39 +0000)
committer
Matthew Wild
<mwild1@gmail.com>
Sun, 26 Oct 2008 14:39:52 +0000
(14:39 +0000)
util/stanza.lua
patch
|
blob
|
history
diff --git
a/util/stanza.lua
b/util/stanza.lua
index bbd4776d08b7892b6f9e3c0c91e265bfe18d0fc8..3fa8ba662173daafad2ce84f3d22c8a4f011e7bf 100644
(file)
--- a/
util/stanza.lua
+++ b/
util/stanza.lua
@@
-53,7
+53,6
@@
end
function stanza_mt:add_child(child)
(self.last_add[#self.last_add] or self):add_direct_child(child);
- t_insert(self.last_add, s);
return self;
end