Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MINOR PJAX support for .cms-panel-link

  • Loading branch information...
commit 35d4cd3da8f6060606c260a8b0cffdb6345a754b 1 parent 84b0a7d
Ingo Schommer chillu authored
Showing with 6 additions and 2 deletions.
  1. +6 −2 admin/javascript/LeftAndMain.js
8 admin/javascript/LeftAndMain.js
View
@@ -330,8 +330,12 @@ jQuery.noConflict();
*/
$('.cms .cms-panel-link').entwine({
onclick: function(e) {
- var href = this.attr('href'), url = (href && !href.match(/^#/)) ? href : this.data('href'),
- data = (this.data('targetPanel')) ? {selector: this.data('targetPanel')} : null;
+ var href = this.attr('href'),
+ url = (href && !href.match(/^#/)) ? href : this.data('href'),
+ data = {
+ selector: this.data('targetPanel'),
+ pjax: this.data('pjax')
+ };
$('.cms-container').loadPanel(url, null, data);
e.preventDefault();
Please sign in to comment.
Something went wrong with that request. Please try again.