Commit ba8c1374 by Nilu Committed by Harsh Shah

refactoring

parent 399724ce
...@@ -12,6 +12,16 @@ ...@@ -12,6 +12,16 @@
%> %>
<oneit:dynIncluded> <oneit:dynIncluded>
<script type="text/javascript">
$(document).ready(function()
{
$(".app-process").change(function()
{
var id = $(this).closest('.appli-row').attr('id');
$('.save-application' + id).click();
});
});
</script>
<div class="view-appli-list"> <div class="view-appli-list">
<% <%
int j = 0; int j = 0;
......
...@@ -54,12 +54,6 @@ ...@@ -54,12 +54,6 @@
$(document).ready(function() $(document).ready(function()
{ {
recalcFunction = setupRecalc ($("form"), {'recalcOnError':true}); recalcFunction = setupRecalc ($("form"), {'recalcOnError':true});
$(".app-process").change(function()
{
var id = $(this).closest('.appli-row').attr('id');
$('.save-application' + id).click();
});
}); });
function gotoEditApplication (id) { function gotoEditApplication (id) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment