Lines 35-45
$(document).ready(function() {
Link Here
|
35 |
return false; |
35 |
return false; |
36 |
} |
36 |
} |
37 |
}); |
37 |
}); |
|
|
38 |
|
39 |
$("#conditional_field,#from_field").change(function(){ |
40 |
updateAllEvery(); |
41 |
}); |
38 |
}); |
42 |
}); |
39 |
//]]> |
43 |
//]]> |
40 |
</script> |
44 |
</script> |
41 |
|
45 |
|
42 |
<script> |
46 |
<script> |
|
|
47 |
function updateAllEvery(){ |
48 |
if ( $("#conditional_field").is(":visible") ) { |
49 |
if ( $("#conditional_field").val() == $("#from_field").val() && $("#from_field").val().length > 0 ) { |
50 |
$("#field_number option[value='0']").html(_("Every")); |
51 |
} else { |
52 |
$("#field_number option[value='0']").html(_("All")); |
53 |
} |
54 |
} |
55 |
} |
56 |
|
43 |
function onActionChange(selectObj) { |
57 |
function onActionChange(selectObj) { |
44 |
// get the index of the selected option |
58 |
// get the index of the selected option |
45 |
var idx = selectObj.selectedIndex; |
59 |
var idx = selectObj.selectedIndex; |
46 |
- |
|
|