Added simple helper on account selector
This commit is contained in:
@@ -636,4 +636,12 @@
|
||||
<value>Add</value>
|
||||
<comment>as in "add element", "add row", etc</comment>
|
||||
</data>
|
||||
</root>
|
||||
<data name="Global_Several_Display" xml:space="preserve">
|
||||
<value>(several)</value>
|
||||
<comment>Displayed when multiple items</comment>
|
||||
</data>
|
||||
<data name="Global_Several_SelectOne" xml:space="preserve">
|
||||
<value>-- Several - select --</value>
|
||||
<comment>Displayed when multiple choice</comment>
|
||||
</data>
|
||||
</root>
|
||||
@@ -673,4 +673,7 @@
|
||||
<data name="InspectLedgers_TxDetail_DescriptionWithheld" xml:space="preserve">
|
||||
<value>(detailed description withheld)</value>
|
||||
</data>
|
||||
<data name="BalanceTransactions_HeaderUnbalancedTransactions" xml:space="preserve">
|
||||
<value>Unbalanced Transactions (Must Fix)</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -99,6 +99,10 @@
|
||||
var transactionId = 0;
|
||||
var transactionDirty = false;
|
||||
|
||||
function onAccountSelectorLoaded() {
|
||||
$("#<%= DropBudgets.ClientID%>_SpanBudgets span.combo input.combo-text").val("<%=Resources.Global.Global_DropInits_SelectFinancialAccount%>");
|
||||
}
|
||||
|
||||
function onAccountSelected(newAccountId) {
|
||||
accountId = newAccountId;
|
||||
reloadData();
|
||||
@@ -298,7 +302,7 @@
|
||||
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="PlaceHolderMain" Runat="Server">
|
||||
|
||||
<h2><asp:Label ID="LabelHeaderInspect" runat="server" /> <Swarmops5:ComboBudgets ID="DropBudgets" OnClientSelect=" onAccountSelected " ListType="All" runat="server" /> <asp:Label ID="LabelHeaderInspectFor" runat="server" /> <asp:DropDownList runat="server" ID="DropYears"/> <asp:DropDownList runat="server" ID="DropMonths"/></h2>
|
||||
<h2><asp:Label ID="LabelHeaderInspect" runat="server" /> <Swarmops5:ComboBudgets ID="DropBudgets" OnClientLoaded=" onAccountSelectorLoaded " OnClientSelect=" onAccountSelected " ListType="All" runat="server" /> <asp:Label ID="LabelHeaderInspectFor" runat="server" /> <asp:DropDownList runat="server" ID="DropYears"/> <asp:DropDownList runat="server" ID="DropMonths"/></h2>
|
||||
|
||||
<table id="gridLedgers" class="easyui-datagrid" style="width: 680px; height: 500px"
|
||||
data-options="rownumbers:false,singleSelect:false,nowrap:false,fitColumns:true,fit:false,showFooter:false,loading:false,selectOnCheck:true,checkOnSelect:true,url:'Json-InspectLedgerData.aspx'"
|
||||
|
||||
Reference in New Issue
Block a user