remove sortable in content grid until we find a solution for saving
This commit is contained in:
@@ -5,20 +5,6 @@
|
||||
|
||||
function link(scope, el, attr, ctrl) {
|
||||
|
||||
scope.contentItemSortingOptions = {
|
||||
distance: 10,
|
||||
tolerance: "pointer",
|
||||
opacity: 0.7,
|
||||
scroll: true,
|
||||
cursor: "move",
|
||||
zIndex: 6000,
|
||||
placeholder: "umb-content-grid__placeholder",
|
||||
start: function(e, ui) {
|
||||
ui.placeholder.height(ui.item.height());
|
||||
ui.placeholder.width(ui.item.width());
|
||||
}
|
||||
};
|
||||
|
||||
scope.clickItem = function(item) {
|
||||
if(scope.onClick) {
|
||||
scope.onClick(item);
|
||||
|
||||
@@ -114,13 +114,6 @@
|
||||
animation-timing-function: ease-in-out;
|
||||
}
|
||||
|
||||
.umb-content-grid__placeholder {
|
||||
background: @grayLighter;
|
||||
border: 2px dashed @grayLight;
|
||||
box-sizing: border-box;
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
.umb-content-grid__no-items {
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<div class="umb-content-grid" ui-sortable="contentItemSortingOptions" ng-model="content">
|
||||
<div class="umb-content-grid">
|
||||
|
||||
<div
|
||||
class="umb-content-grid__item"
|
||||
|
||||
Reference in New Issue
Block a user