issue #0001709: test environment
This commit is contained in:
parent
7fcc7cb7ae
commit
091f89dc43
@ -431,7 +431,7 @@ class GiantController extends Zend_Controller_Action
|
||||
print_r(array('no'));
|
||||
}
|
||||
else {
|
||||
print_r($value->MonitoringOptions->MonitoringOption[0]->LanguageCodes->LanguageCode);
|
||||
print_r(json_encode($value->MonitoringOptions->MonitoringOption[0]->LanguageCodes->LanguageCode));
|
||||
}
|
||||
}
|
||||
public function reteventsAction()
|
||||
|
@ -17,8 +17,6 @@
|
||||
<?php endforeach;?>
|
||||
</select>
|
||||
</form>
|
||||
|
||||
|
||||
<table id="giant_synthese">
|
||||
<thead>
|
||||
<tr>
|
||||
|
@ -33,4 +33,4 @@ lifetime = "86403"
|
||||
[test]
|
||||
;1 = test mode
|
||||
;0 = production
|
||||
TestIndication = '1'
|
||||
TestIndication = '0'
|
@ -23,10 +23,14 @@ $(document).ready( function()
|
||||
$('select[name=LanguageCode]').fadeOut();
|
||||
$("select[name=Pays] option:selected").each(function () {
|
||||
var values = $(this).attr('value');
|
||||
//alert(values);
|
||||
$.post('/giant/getpays',{Pays: values}, function(data) {
|
||||
alert(data);
|
||||
//alert($('select[name=LanguageCode]').html());
|
||||
data = (jQuery.parseJSON(data));
|
||||
$('select[name=LanguageCode]').find('option').remove();
|
||||
$.each(data, function(key, value) {
|
||||
$('select[name=LanguageCode]')
|
||||
.append($('<option>', { value : value })
|
||||
.text(value));
|
||||
});
|
||||
});
|
||||
});
|
||||
$('select[name=LanguageCode]').fadeIn(500);
|
||||
|
Loading…
Reference in New Issue
Block a user