Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…ortal into main
  • Loading branch information
JoelProminic committed Oct 27, 2023
2 parents 1dab7aa + 0369987 commit 55ed341
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Super.Human.Portal_Royale/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>net.apacheRoyaleTemplatedApp</groupId>
<artifactId>Super.Human.Portal</artifactId>
<version>0.1.8</version>
<version>0.1.9-SNAPSHOT</version>
<packaging>swf</packaging>

<name>Super.Human.Portal</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,30 @@
this.itemVO = null;
}
private function initReadOnlyForm():void
{
this.currentState = 'contentState';
this.isDisabled = true;
this.backCancelButton.text = "Back";
this.proxy.selectedIndex = dg.selectedIndex;
this.itemVO = dg.selectedItem.clone();
}
private function onSaveClick(event:Event):void
{
this.proxy.submitItem(this.itemVO);
}
private function onCancelClick(event:Event):void
{
this.cancelFormEdit();
if (this.isDisabled)
{
this.cancelFormEdit();
}
else
{
this.initReadOnlyForm();
}
}
private function onAddItem(event:Event):void
Expand All @@ -83,10 +99,7 @@
private function onGridDoubleClick(event:Event):void
{
this.currentState = 'contentState';
this.isDisabled = true;
this.proxy.selectedIndex = dg.selectedIndex;
this.itemVO = dg.selectedItem.clone();
this.initReadOnlyForm();
}
private function onServerItemChanged(event:Event):void
Expand Down
2 changes: 1 addition & 1 deletion Super.Human.Portal_Royale/src/resources/app-styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -482,5 +482,5 @@ a:hover {
}

.jewel.button.primary.linkAppButton {
textWrap: wrap !important;
whiteSpace: pre-wrap !important;
}

0 comments on commit 55ed341

Please sign in to comment.