Subversion Repositories SmartDukaan

Rev

Rev 22148 | Rev 22155 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 22148 Rev 22152
Line 117... Line 117...
117
	           	if (data.response.document_id == 0){
117
	           	if (data.response.document_id == 0){
118
	           		alert(data.response.message);
118
	           		alert(data.response.message);
119
	           		return;
119
	           		return;
120
	           	}
120
	           	}
121
	               $('input[name="' + hiddenInput + '"]').val(data.response.document_id);
121
	               $('input[name="' + hiddenInput + '"]').val(data.response.document_id);
122
	               validator.data('bootstrapValidator').getInvalidFields()
122
	               validator.data('bootstrapValidator').revalidateField($('input[name="' + hiddenInput + '"]'));
123
	           }
123
	           }
124
	    });
124
	    });
125
	});
125
	});
126
  
126
  
127
  });
127
  });