Subversion-Projekte lars-tiefland.ci

Revision

Revision 1955 | Revision 1965 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 1955 Revision 1964
Zeile 1... Zeile 1...
1
{include file="header.tpl"}
1
{include file="header.tpl"}
2
<!-- $Id: herstellerkatalog.tpl 1955 2017-01-20 21:03:02Z lars $ BEGIN -->
2
<!-- $Id: herstellerkatalog.tpl 1964 2017-01-20 22:36:01Z lars $ BEGIN -->
3
<script>
3
<script>
4
	$(function(){
4
	$(function(){
5
		$(".del_hst").button({
5
		$(".del_hst").button({
6
			icons:{
6
			icons:{
7
				primary:"ui-icon-trash"
7
				primary:"ui-icon-trash"
Zeile 14... Zeile 14...
14
		}).css("cursor","pointer").click(editHst);
14
		}).css("cursor","pointer").click(editHst);
15
		$('#hstEditDlg').dialog({
15
		$('#hstEditDlg').dialog({
16
			autoOpen:false,
16
			autoOpen:false,
17
			modal:true,
17
			modal:true,
18
			width:600,
18
			width:600,
19
			resizable:false
19
			resizable:false,
-
 
20
			buttons:[{
-
 
21
				text:"speichern",
-
 
22
				icons: {
-
 
23
					primary: "ui-icon-check"
-
 
24
				},
-
 
25
				click:function()
-
 
26
				{
-
 
27
					$('#result').load("/backend/herstellerkatalog/save",$('#herstellerForm').serializeArray(),function(){
-
 
28
						$('#result').dialog("open");
-
 
29
					})
-
 
30
					$('#edit_dir_dialog').dialog("close");
-
 
31
				}
-
 
32
			},
-
 
33
			{
-
 
34
				text:"verwerfen",
-
 
35
				icons: {
-
 
36
					primary: "ui-icon-close"
-
 
37
				},
-
 
38
				click:function(){
-
 
39
					$('#edit_dir_dialog').dialog("close");
-
 
40
				}
-
 
41
			}
-
 
42
			]			
20
		})
43
		})
21
	})
44
	})
22
	function editHst()
45
	function editHst()
23
	{
46
	{
24
		$('#hstEditDlg').load("/backend/herstellerkatalog/edit/"+$(this).attr('data-id'),function(){
47
		$('#hstEditDlg').load("/backend/herstellerkatalog/edit/"+$(this).attr('data-id'),function(){
Zeile 43... Zeile 66...
43
	</tr>
66
	</tr>
44
	{/foreach}
67
	{/foreach}
45
</table>
68
</table>
46
<div id="hstEditDlg"></div>
69
<div id="hstEditDlg"></div>
47
<div id="hstDelDlg"></div>
70
<div id="hstDelDlg"></div>
48
<!-- $Id: herstellerkatalog.tpl 1955 2017-01-20 21:03:02Z lars $ END -->
71
<!-- $Id: herstellerkatalog.tpl 1964 2017-01-20 22:36:01Z lars $ END -->
49
{include file="footer.tpl"}
72
{include file="footer.tpl"}
50
73