profiles.js
22 lines
| 797 B
| application/javascript
|
JavascriptLexer
|
r134 | /** | |
* @author Jose Antonio Sal y Rosas Celi | |||
* @contact: jose.salyrosas@jro.igp.gob.pe, arturo.jasyrc@gmail.com | |||
*/ | |||
$(document).on('ready',function(){ | |||
$('#listProfiles').change(function() { | |||
if($(this).val() != -1){ | |||
location.href="/abscontrol/view/" + $(this).val(); | |||
} | |||
}); | |||
|
r153 | $('.activeOverJRO').click(function() { | |
|
r154 | profile_id = $('input[name=txtProfileId]').val(); | |
pattern_id = $('input[name=txtPatternId]').val(); | |||
field_Id = $(this).attr("id"); | |||
field_value = $('input[name=txtAntenna'+field_Id+'Id]').val(); | |||
url = "/abscontrol/"+profile_id+"/"+pattern_id+"/overjro/"+field_value+"/?beam="+field_Id; | |||
alert(url); | |||
|
r153 | }); | |
|
r155 | $('#lnkSaveImport').click(function(){ | |
$('#frmImportProfile').submit(); | |||
}); | |||
|
r134 | }); |