tape:js ie cache
This commit is contained in:
parent
df438bec41
commit
fca490e87d
|
@ -32,9 +32,9 @@ class HomeController extends AppController {
|
||||||
public function home() {
|
public function home() {
|
||||||
$this->MiconwareSession->init($this);
|
$this->MiconwareSession->init($this);
|
||||||
$this->MiconwareSession->initWeb($this);
|
$this->MiconwareSession->initWeb($this);
|
||||||
$c = $this->MiconwareSession->getCompany();
|
$c = $this->MiconwareSession->getCompany();
|
||||||
if (!empty($c))
|
if (!empty($c))
|
||||||
return $this->redirect(array('controller'=>'home','action' => 'company'));
|
return $this->redirect(array('controller'=>'home','action' => 'company'));
|
||||||
$openings = $this->DreamjobJobOpening->find('all',array('conditions'=>$this->MiconwareSession->getOpeningCondition(),
|
$openings = $this->DreamjobJobOpening->find('all',array('conditions'=>$this->MiconwareSession->getOpeningCondition(),
|
||||||
'order'=>'DreamjobJobOpening.id DESC','limit'=> self::$opening_limit));
|
'order'=>'DreamjobJobOpening.id DESC','limit'=> self::$opening_limit));
|
||||||
$this->set('openings',$openings);
|
$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 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.
|
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);
|
setContent(data, back, tab, backignore);
|
||||||
}, error: function(data) {
|
}, error: function(data) {
|
||||||
setContentError(data, back, tab);
|
setContentError(data, back, tab);
|
||||||
|
|
Loading…
Reference in New Issue