Make '+' work on SelectedMultiple too
authorRichard Fairhurst <richard@systemeD.net>
Sun, 5 Feb 2012 19:01:02 +0000 (19:01 +0000)
committerRichard Fairhurst <richard@systemeD.net>
Sun, 5 Feb 2012 19:01:02 +0000 (19:01 +0000)
net/systemeD/potlatch2/TagViewer.mxml

index 0359372..dbdc7f3 100644 (file)
       }
 
          public function addNewTag():void {
-               if (stack.selectedChild!=advancedContainer) { return; }
-               advancedTagGrid.addNewTag();
+               if (sidebar.selectedChild==multiplePanel) { multiAdvancedTagGrid.addNewTag(); }
+               else if (stack.selectedChild==advancedContainer) { advancedTagGrid.addNewTag(); }
          }
 
       private function addedToRelation(event:RelationMemberEvent):void {