(function () {
$("#paramsWarn").hide();
/*Below service method is called for checking the service is being loaded or not*/
-
+
var intialize = intializeService;
-
+
function intializeService() {
$("#service").off('focus').off('change');
-
- $("#service").on('change', function(){
- var chosen = $(this).val();
- (function(spinner){
- $("#ridinSpinners").show();
- setTimeout(spinner, 1);
- })(function(){
- loadSharedPropertyByService(chosen, null, intialize);
- if (elementMap["global"]){
- if ($("#vf").val() == oldVf){
- vfDiff = false;
- if ((!vfDiff)&&(!asDiff)&&(!serDiff)){
+
+ $("#service").on('change', function(){
+ var chosen = $(this).val();
+ (function(spinner){
+ $("#ridinSpinners").show();
+ setTimeout(spinner, 1);
+ })(function(){
+ loadSharedPropertyByService(chosen, null, intialize);
+ if (elementMap["global"]){
+ if ($("#vf").val() == oldVf){
+ vfDiff = false;
+ if ((!vfDiff)&&(!asDiff)&&(!serDiff)){
$(".propChangeWarn").hide();
};
- } else {
- vfDiff = true;
- $(".propChangeWarn").show();
- }
- }
-
- $("#ridinSpinners").hide();
- });
- });
-
+ } else {
+ vfDiff = true;
+ $(".propChangeWarn").show();
+ }
+ }
+ $("#ridinSpinners").hide();
+ });
+ });
}
loadSharedPropertyByService(undefined, null, intialize);
var f={}
f.name=s
f.value=select[s]
- arr.push(f)
+ if (!(s=="service" && f.value=="")){
+ arr.push(f)
+ }
}
return arr
}