tape:js ie cache

This commit is contained in:
Martin Müller 2014-05-25 09:39:28 +02:00
parent df438bec41
commit fca490e87d
2 changed files with 4 additions and 4 deletions

View File

@ -32,9 +32,9 @@ class HomeController extends AppController {
public function home() {
$this->MiconwareSession->init($this);
$this->MiconwareSession->initWeb($this);
$c = $this->MiconwareSession->getCompany();
if (!empty($c))
return $this->redirect(array('controller'=>'home','action' => 'company'));
$c = $this->MiconwareSession->getCompany();
if (!empty($c))
return $this->redirect(array('controller'=>'home','action' => 'company'));
$openings = $this->DreamjobJobOpening->find('all',array('conditions'=>$this->MiconwareSession->getOpeningCondition(),
'order'=>'DreamjobJobOpening.id DESC','limit'=> self::$opening_limit));
$this->set('openings',$openings);

View File

@ -238,7 +238,7 @@ var global_load = null;
if uncomment the above line, html5 nonsupported browers won't change the url but will display the ajax content;
if commented, html5 nonsupported browers will reload the page to the specified link.
*/
$.ajax({url: pageurl, data: data, type: typemethode, success: function(data) {
$.ajax({url: pageurl, cache: false, data: data, type: typemethode, success: function(data) {
setContent(data, back, tab, backignore);
}, error: function(data) {
setContentError(data, back, tab);