[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [9247] property: invoice: fix send (new) order
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [9247] property: invoice: fix send (new) order |
Date: |
Mon, 30 Apr 2012 08:40:05 +0000 |
Revision: 9247
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=9247
Author: sigurdne
Date: 2012-04-30 08:40:03 +0000 (Mon, 30 Apr 2012)
Log Message:
-----------
property: invoice: fix send (new) order
Modified Paths:
--------------
trunk/property/js/portico/ajax_workorder_edit.js
trunk/property/templates/base/workorder.xsl
Modified: trunk/property/js/portico/ajax_workorder_edit.js
===================================================================
--- trunk/property/js/portico/ajax_workorder_edit.js 2012-04-30 08:06:07 UTC
(rev 9246)
+++ trunk/property/js/portico/ajax_workorder_edit.js 2012-04-30 08:40:03 UTC
(rev 9247)
@@ -1,6 +1,12 @@
$(document).ready(function(){
$("#workorder_edit").live("submit", function(e){
+
+ if( ! $("#workorder_id").val() )
+ {
+ return;
+ }
+
e.preventDefault();
var thisForm = $(this);
var submitBnt = $(thisForm).find("input[type='submit']");
Modified: trunk/property/templates/base/workorder.xsl
===================================================================
--- trunk/property/templates/base/workorder.xsl 2012-04-30 08:06:07 UTC (rev
9246)
+++ trunk/property/templates/base/workorder.xsl 2012-04-30 08:40:03 UTC (rev
9247)
@@ -295,6 +295,7 @@
</td>
<td>
<xsl:value-of select="value_workorder_id"/>
+
<input type="hidden" id="workorder_id" name="test_for_new"
value="{value_workorder_id}"/>
</td>
</tr>
<xsl:choose>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [9247] property: invoice: fix send (new) order,
Sigurd Nes <=