Skip to content

Commit

Permalink
DEP Update jquery-ui in thirdparty folder
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Jan 9, 2023
1 parent 2c0962b commit 25ee1c3
Show file tree
Hide file tree
Showing 29 changed files with 17,088 additions and 10,212 deletions.
2 changes: 1 addition & 1 deletion client/dist/js/bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion client/dist/js/vendor.js

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions client/dist/styles/bundle.css

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions client/src/legacy/LeftAndMain.js
Original file line number Diff line number Diff line change
Expand Up @@ -889,12 +889,12 @@ $.entwine('ss', function($) {
this.find('.cms-tabset,.ss-tabset').each(function(i, el) {
var id = $(el).attr('id');
if(!id) return; // we need a unique reference
if(!$(el).data('tabs')) return; // don't act on uninit'ed controls
if(!$(el).data('uiTabs')) return; // don't act on uninit'ed controls

// Allow opt-out via data element or entwine property.
if($(el).data('ignoreTabState') || $(el).getIgnoreTabState()) return;

selectedTabs.push({id:id, selected:$(el).tabs('option', 'selected')});
selectedTabs.push({id:id, selected:$(el).tabs('option', 'active')});
});

if(selectedTabs) {
Expand Down Expand Up @@ -1318,15 +1318,15 @@ $.entwine('ss', function($) {
this._super();
},
onremove: function() {
if (this.data('tabs')) this.tabs('destroy');
if (this.data('uiTabs')) this.tabs('destroy');
this._super();
},
redrawTabs: function() {
this.rewriteHashlinks();

var id = this.attr('id'), activeTab = this.find('ul:first .ui-tabs-active');

if(!this.data('tabs')) this.tabs({
if(!this.data('uiTabs')) this.tabs({
active: (activeTab.index() != -1) ? activeTab.index() : 0,
beforeLoad: function(e, ui) {
// Disable automatic ajax loading of tabs without matching DOM elements,
Expand Down
4 changes: 2 additions & 2 deletions client/src/legacy/TabSet.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ $.entwine('ss', function($){
const tabsetId = this.attr('id');
const forcedTab = this.children('ul').children('li.ss-tabs-force-active');

if (!this.data('tabs')) {
if (!this.data('uiTabs')) {
// Defer until tabs have been initialised in redrawTabs()
this.setDeferRestoreState(true);
this.setDefferredStateOverride(overrideState);
Expand Down Expand Up @@ -164,7 +164,7 @@ $.entwine('ss', function($){
},

onremove: function() {
if(this.data('tabs')) this.tabs('destroy');
if(this.data('uiTabs')) this.tabs('destroy');
this._super();
},

Expand Down
2 changes: 1 addition & 1 deletion client/src/legacy/ToggleCompositeField.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ $.entwine('ss', function($){
});
},
onremove: function() {
if (this.data('accordion')) this.accordion('destroy');
if (this.data('uiAccordion')) this.accordion('destroy');
this._super();
},

Expand Down
13 changes: 12 additions & 1 deletion client/src/styles/legacy/_uitheme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,15 @@
}

.ui-widget-content,
.ui-widget {
.ui-widget,
.ui-widget.ui-widget-content {
color: $body-color;
font-size: 1em;
border: 0;

a {
color: $link-color;
}
}

.ui-widget-header {
Expand Down Expand Up @@ -83,3 +88,9 @@
background-size: auto !important;
}
}

.ui-tabs .ui-tabs-nav .ui-tabs-anchor {
float: none;
padding: $nav-link-padding;
cursor:text;
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 25ee1c3

Please sign in to comment.