Merge branch 'master' of vc.linet-services.de:public/lx-office-erp
authorThomas Heck <theck@linet-services.de>
Tue, 27 Nov 2012 15:09:11 +0000 (16:09 +0100)
committerThomas Heck <theck@linet-services.de>
Tue, 27 Nov 2012 15:09:11 +0000 (16:09 +0100)
templates/webpages/pe/partsgroup_form.html
templates/webpages/pe/pricegroup_form.html

index d0f1fce..686bca6 100644 (file)
@@ -36,6 +36,9 @@
 <input type=submit class=submit name=action value="[% 'Delete' | $T8 %]">
 [%- END %]
 
-<input type=button onclick="set_history_window([% id %]);" name=history id=history value="[% 'history' | $T8 %]">
+[%- IF ( id ) %]
+  <input type=button onclick="set_history_window([% id %]);" name=history id=history value="[% 'history' | $T8 %]">
+[%- END %]
+
 </form>
 
index ed75005..0b1f8e3 100644 (file)
@@ -36,6 +36,9 @@
 <input type=submit class=submit name=action value="[% 'Delete' | $T8 %]">
 [%- END %]
 
-<input type=button onclick="set_history_window([% id %]);" name=history id=history value="[% 'history' | $T8 %]">
+[%- IF ( id ) %]
+  <input type=button onclick="set_history_window([% id %]);" name=history id=history value="[% 'history' | $T8 %]">
+[%- END %]
+
 </form>