CC-2450:Phone home metric
- email is not required anymore. - Send info box suppose to dispalys filelds only when thev value is non-empty string. It wasn't diaplyng where the value was 0(fixed).
This commit is contained in:
parent
a936212355
commit
59e19fe9d1
|
@ -332,7 +332,7 @@ class Application_Model_Preference
|
|||
|
||||
$outputString = "\n";
|
||||
foreach($outputArray as $key => $out){
|
||||
if(!empty($out)){
|
||||
if($out != ''){
|
||||
$outputString .= $key.' : '.$out."\n";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -86,12 +86,10 @@ $(document).ready(function(){
|
|||
|
||||
function validateFields(){
|
||||
var stnName = $("#stnName");
|
||||
var email = $("#Email");
|
||||
|
||||
var errors = new Array();
|
||||
|
||||
errors[0] = displayError(stnName);
|
||||
errors[1] = displayError(email);
|
||||
|
||||
for( e in errors ){
|
||||
if(errors[e]){
|
||||
|
|
Loading…
Reference in New Issue