Closes #193 - inline components work
This commit is contained in:
@@ -71,6 +71,7 @@ $(function() {
|
||||
|
||||
// Sortable components.
|
||||
var componentList = document.getElementById("component-list");
|
||||
if (componentList) {
|
||||
new Sortable(componentList, {
|
||||
group: "omega",
|
||||
handle: ".drag-handle",
|
||||
@@ -94,6 +95,7 @@ $(function() {
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// Toggle inline component statuses.
|
||||
$('form.component-inline').on('click', 'input[type=radio]', function() {
|
||||
|
||||
@@ -12433,6 +12433,7 @@ $(function() {
|
||||
|
||||
// Sortable components.
|
||||
var componentList = document.getElementById("component-list");
|
||||
if (componentList) {
|
||||
new Sortable(componentList, {
|
||||
group: "omega",
|
||||
handle: ".drag-handle",
|
||||
@@ -12456,6 +12457,7 @@ $(function() {
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// Toggle inline component statuses.
|
||||
$('form.component-inline').on('click', 'input[type=radio]', function() {
|
||||
@@ -12475,4 +12477,11 @@ $(function() {
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
// Banner removal JS
|
||||
$('#remove-banner').click(function(){
|
||||
$('#banner-view').remove();
|
||||
$('input[name=remove_banner]').val('1');
|
||||
$('#settings-form').submit();
|
||||
});
|
||||
});
|
||||
@@ -12433,6 +12433,7 @@ $(function() {
|
||||
|
||||
// Sortable components.
|
||||
var componentList = document.getElementById("component-list");
|
||||
if (componentList) {
|
||||
new Sortable(componentList, {
|
||||
group: "omega",
|
||||
handle: ".drag-handle",
|
||||
@@ -12456,6 +12457,7 @@ $(function() {
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// Toggle inline component statuses.
|
||||
$('form.component-inline').on('click', 'input[type=radio]', function() {
|
||||
@@ -12475,4 +12477,11 @@ $(function() {
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
// Banner removal JS
|
||||
$('#remove-banner').click(function(){
|
||||
$('#banner-view').remove();
|
||||
$('input[name=remove_banner]').val('1');
|
||||
$('#settings-form').submit();
|
||||
});
|
||||
});
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{
|
||||
"css/all.css": "css/all-c5b65085.css",
|
||||
"js/all.js": "js/all-337c2216.js"
|
||||
"js/all.js": "js/all-215df44c.js"
|
||||
}
|
||||
Reference in New Issue
Block a user