Subversion-Projekte lars-tiefland.ci

Revision

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

Revision 1903 Revision 1904
Zeile 13... Zeile 13...
13
    $('.edit_desc').button({
13
    $('.edit_desc').button({
14
        icons:{
14
        icons:{
15
            primary:"ui-icon-pencil"
15
            primary:"ui-icon-pencil"
16
        }
16
        }
17
    }).css("cursor","pointer").click(edit_medium_desc);
17
    }).css("cursor","pointer").click(edit_medium_desc);
18
    $('#edit_desc_dlg').dialog({
-
 
19
        autoOpen:false,
-
 
20
        modal:true,
-
 
21
        resizable:false,
-
 
22
        buttons:{
-
 
23
            "speichern": function()
-
 
24
            {
-
 
25
                url="/toolbox/editMedimDesc.php";
-
 
26
                $.get(url,$('#edit_desc_form').serialize(),function(html){
-
 
27
                    $('#desc_'+$('#hidden_id').val()).html(html);
-
 
28
                })
-
 
29
                $(this).dialog("close");
-
 
30
            },
-
 
31
            "abbrechen": function()
-
 
32
            {
-
 
33
                $(this).dialog("close");
-
 
34
            }
-
 
35
        }
-
 
36
    });
-
 
37
    function change_aehnlich()
-
 
38
    {
-
 
39
        aId=$(this).attr("id").split("_");
-
 
40
        l_id=aId[1];
-
 
41
        m_id=aId[2];
-
 
42
        l_type=aId[3];
-
 
43
        val=$(this).val();
-
 
44
        url="change_aehnlich.php?l_id="+l_id+"&m_id="+m_id+"&val="+val+"&l_type="+l_type
-
 
45
        $.get(url,function(html)
-
 
46
        {
-
 
47
            if(html==1)
-
 
48
            {
-
 
49
                meld="Änderung erfolgreich gespeichert!";
-
 
50
            }
-
 
51
            else
-
 
52
            {
-
 
53
                meld="Es ist leider ein Fehler aufgetreten!<br>"+html;
-
 
54
            }
-
 
55
            $('#change_aehnlich_meld').html(meld);
-
 
56
            $('#change_aehnlich_msg').dialog({
-
 
57
                modal:true,
-
 
58
                resizable:false,
-
 
59
                buttons:{
-
 
60
                    "ok":function()
-
 
61
                    {
-
 
62
                        $(this).dialog("close");
-
 
63
                    }
-
 
64
                }
-
 
65
            })
-
 
66
        })
-
 
67
    }
-
 
68
</script>
18
</script>
69
<table width="100%">
19
<table width="100%">
70
    <tr class="links">
20
    <tr class="links">
71
        <td>Dateiname</td>
21
        <td>Dateiname</td>
72
        <td>Vorschau</td>
22
        <td>Vorschau</td>