tape:js ie cache
This commit is contained in:
parent
df438bec41
commit
fca490e87d
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue