Skip to content

Commit

Permalink
Merge branch 'hotfix/2.4.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
aschempp committed Jul 26, 2017
2 parents 54e4698 + 5cce784 commit 84075c4
Show file tree
Hide file tree
Showing 120 changed files with 9,944 additions and 812 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
# Isotope ignoring rules
!isotope/
isotope/*
!isotope/.htaccess
!isotope/index.html
!system/
system/*
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
"terminal42/contao-fineuploader": "For file uploads in frontend using FineUploader"
},
"conflict": {
"terminal42/contao-fineuploader": "< 2.0 || >= 3.0"
"terminal42/contao-fineuploader": "< 2.0 || >= 3.0",
"contao/core-bundle": "4.0.0 || 4.0.1"
},
"autoload": {
"psr-0": {
Expand Down
1 change: 0 additions & 1 deletion system/modules/isotope/assets/css/backend-svg.min.css

This file was deleted.

11 changes: 6 additions & 5 deletions system/modules/isotope/assets/css/backend.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
background-size: 16px 16px;
}

body[class*="version_4-4"] #tl_navigation .tl_level_1_group .group-isotope {
background: url(../images/module44.svg) 5px 1px no-repeat;
background-size: 14px 14px;
}

.header_import_assets
{
padding:2px 0 3px 20px;
Expand Down Expand Up @@ -40,7 +45,7 @@
padding:3px 0 0 8px;
}

body.popup .header_back {
body.popup a[href*="table=tl_iso_attribute_option"].header_back {
display: none;
}

Expand Down Expand Up @@ -425,7 +430,3 @@ body.iso_be_overview .tip-wrap{
float:left;
margin-left:20px;
}

.tl_version_panel.tl_iso_products_panel #tl_version {
float: right;
}
1 change: 0 additions & 1 deletion system/modules/isotope/assets/css/backend.min.css

This file was deleted.

1 change: 0 additions & 1 deletion system/modules/isotope/assets/css/print.min.css

This file was deleted.

12 changes: 12 additions & 0 deletions system/modules/isotope/assets/images/module44.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 16 additions & 12 deletions system/modules/isotope/assets/js/backend.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,21 +99,22 @@ var Isotope = {};
if (!inp[i].checked || inp[i].id.match(/^check_all_/)) continue;
if (!inp[i].id.match(/^reset_/)) val.push(inp[i].get('value'));
}
new Request.Contao(
{
new Request.Contao({
evalScripts: false,
onRequest: AjaxRequest.displayBox(Contao.lang.loading + ' …'),
onSuccess: function(txt, json)
{
if (txt != '')
{
onSuccess: function(txt, json) {
if (txt != '') {
window.location.href = txt;
}
},
onFailure: function(xhr) {
if (xhr.status === 302 && xhr.responseText != '') {
window.location.href = xhr.responseText;
}
}
}).post({'action':opt.action, 'value':val[0], 'redirect':opt.redirect, 'REQUEST_TOKEN':Contao.request_token});
this.hide();
if (opt.trigger)
{
if (opt.trigger) {
opt.trigger.fireEvent('closeModal');
}
});
Expand Down Expand Up @@ -181,12 +182,15 @@ var Isotope = {};
{
evalScripts: false,
onRequest: AjaxRequest.displayBox(Contao.lang.loading + ' …'),
onSuccess: function(txt, json)
{
if (txt != '')
{
onSuccess: function(txt, json) {
if (txt != '') {
window.location.href = txt;
}
},
onFailure: function(xhr) {
if (xhr.status === 302 && xhr.responseText != '') {
window.location.href = xhr.responseText;
}
}
}).post({'action':opt.action, 'value':val, 'redirect':opt.redirect, 'REQUEST_TOKEN':Contao.request_token});
this.hide();
Expand Down
Loading

0 comments on commit 84075c4

Please sign in to comment.