Subversion-Projekte lars-tiefland.ci

Revision

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

Revision 1965 Revision 1966
Zeile 1... Zeile 1...
1
{include file="header.tpl"}
1
{include file="header.tpl"}
2
<!-- $Id: herstellerkatalog.tpl 1965 2017-01-20 22:37:31Z lars $ BEGIN -->
2
<!-- $Id: herstellerkatalog.tpl 1966 2017-01-20 22:39:31Z lars $ BEGIN -->
3
<script>
3
<script>
4
	$(function(){
4
	$(function(){
-
 
5
		$('#result').dialog({
-
 
6
			autoOpen:false,
-
 
7
			resizable:false,
-
 
8
			width:400,
-
 
9
			modal:true,
-
 
10
			buttons:{
-
 
11
				"OK":function(){
-
 
12
					$(this).dialog("close")
-
 
13
				}
-
 
14
			}
-
 
15
		})
5
		$(".del_hst").button({
16
		$(".del_hst").button({
6
			icons:{
17
			icons:{
7
				primary:"ui-icon-trash"
18
				primary:"ui-icon-trash"
8
			}
19
			}
9
		}).css("cursor","pointer");
20
		}).css("cursor","pointer");
Zeile 25... Zeile 36...
25
				click:function()
36
				click:function()
26
				{
37
				{
27
					$('#result').load("/backend/herstellerkatalog/save",$('#herstellerForm').serializeArray(),function(){
38
					$('#result').load("/backend/herstellerkatalog/save",$('#herstellerForm').serializeArray(),function(){
28
						$('#result').dialog("open");
39
						$('#result').dialog("open");
29
					})
40
					})
30
					$('#edit_dir_dialog').dialog("close");
41
					$('#hstEditDlg').dialog("close");
31
				}
42
				}
32
			},
43
			},
33
			{
44
			{
34
				text:"verwerfen",
45
				text:"verwerfen",
35
				icons: {
46
				icons: {
36
					primary: "ui-icon-close"
47
					primary: "ui-icon-close"
37
				},
48
				},
38
				click:function(){
49
				click:function(){
39
					$('#edit_dir_dialog').dialog("close");
50
					$('#hstEditDlg').dialog("close");
40
				}
51
				}
41
			}
52
			}
42
			]			
53
			]			
43
		})
54
		})
44
	})
55
	})
Zeile 67... Zeile 78...
67
	{/foreach}
78
	{/foreach}
68
</table>
79
</table>
69
<div id="hstEditDlg"></div>
80
<div id="hstEditDlg"></div>
70
<div id="hstDelDlg"></div>
81
<div id="hstDelDlg"></div>
71
<div id="result" title="Ergebnis"></div>
82
<div id="result" title="Ergebnis"></div>
72
<!-- $Id: herstellerkatalog.tpl 1965 2017-01-20 22:37:31Z lars $ END -->
83
<!-- $Id: herstellerkatalog.tpl 1966 2017-01-20 22:39:31Z lars $ END -->
73
{include file="footer.tpl"}
84
{include file="footer.tpl"}
74
85