projects
/
potlatch2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abe766c
)
Fix temporary duplicate key issue
author
Richard Fairhurst
<richard@systemeD.net>
Wed, 6 Apr 2011 15:53:26 +0000
(16:53 +0100)
committer
Richard Fairhurst
<richard@systemeD.net>
Wed, 6 Apr 2011 15:53:26 +0000
(16:53 +0100)
net/systemeD/potlatch2/TagGrid.mxml
patch
|
blob
|
history
diff --git
a/net/systemeD/potlatch2/TagGrid.mxml
b/net/systemeD/potlatch2/TagGrid.mxml
index adc4982fa6b2acd32d8827c36f39dcf36acdc7c9..399de61d582847cf25dfa2a925200a121cdb511c 100644
(file)
--- a/
net/systemeD/potlatch2/TagGrid.mxml
+++ b/
net/systemeD/potlatch2/TagGrid.mxml
@@
-94,7
+94,7
@@
private function tagChanged(event:TagEvent):void {
var set:Boolean=false;
for (var i:uint=0; i<tagDataProvider.length; i++) {
- if (tagDataProvider[i].key==event.oldKey) {
+ if (tagDataProvider[i].key==event.oldKey
|| tagDataProvider[i].key==event.key
) {
if (event.newValue && event.key) {
if (!set) {
// this entry in the dataProvider has changed