Subversion Repositories DevTools

Rev

Rev 7245 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7245 Rev 7246
Line 39... Line 39...
39
    	// Wire up the buttons
39
    	// Wire up the buttons
40
    	$('.btnEdit').click( function(){
40
    	$('.btnEdit').click( function(){
41
            var el = $(this);
41
            var el = $(this);
42
            var trel = el.closest("tr");
42
            var trel = el.closest("tr");
43
            var bmcon_id = trel.data("bmcon_id");
43
            var bmcon_id = trel.data("bmcon_id");
44
console.log("Edit:", bmcon_id);
-
 
45
           MM_openVixIFrame('wAddBuildMachine.asp?type=edit&bmcon_id=' + bmcon_id + '&rfile=<%=scriptName%><%=objPMod.ComposeURL()%>','Edit Build Machine');
44
           MM_openVixIFrame('wAddBuildMachine.asp?type=edit&bmcon_id=' + bmcon_id + '&rfile=<%=scriptName%><%=objPMod.ComposeURL()%>','Edit Build Machine');
46
        });
45
        });
47
 
46
 
48
    	$('.btnDel').click( function(){
47
    	$('.btnDel').click( function(){
49
            var el = $(this);
48
            var el = $(this);
Line 57... Line 56...
57
    	$('.btnClone').click( function(){
56
    	$('.btnClone').click( function(){
58
            var el = $(this);
57
            var el = $(this);
59
            var trel = el.closest("tr");
58
            var trel = el.closest("tr");
60
            var bmcon_id = trel.data("bmcon_id");
59
            var bmcon_id = trel.data("bmcon_id");
61
            MM_openVixIFrame('wAddBuildMachine.asp?type=clone&bmcon_id=' + bmcon_id + '&rfile=<%=scriptName%><%=objPMod.ComposeURL()%>','Clone Build Machine');
60
            MM_openVixIFrame('wAddBuildMachine.asp?type=clone&bmcon_id=' + bmcon_id + '&rfile=<%=scriptName%><%=objPMod.ComposeURL()%>','Clone Build Machine');
62
console.log("Cfg", bmcon_id);
-
 
63
        });
61
        });
64
 
62
 
65
    });
63
    });
66
</script>
64
</script>
67
<%End Sub
65
<%End Sub