sorting row with last release ui.sortable lib and sorting control published
This commit is contained in:
@@ -125,6 +125,11 @@
|
||||
}
|
||||
|
||||
|
||||
/*.usky-grid .selectedRow {
|
||||
border: 1px solid rgba(182, 182, 182, 0.3);
|
||||
}*/
|
||||
|
||||
|
||||
|
||||
|
||||
// CELL
|
||||
@@ -219,13 +224,14 @@
|
||||
}
|
||||
|
||||
.usky-grid .usky-control:hover{
|
||||
border: 1px dashed rgba(182, 182, 182, 0.3);
|
||||
/*border: 1px solid rgba(182, 182, 182, 0.3);*/
|
||||
border-bottom: 2px solid rgba(182, 182, 182, 0.3);
|
||||
|
||||
}
|
||||
|
||||
.usky-grid .usky-control-placeholder:hover{
|
||||
border-bottom:2px solid rgba(182, 182, 182, 0.0) !important;
|
||||
/*border: 1px solid rgba(182, 182, 182, 0);*/
|
||||
border-bottom:2px solid rgba(182, 182, 182, 0.0) !important;
|
||||
}
|
||||
|
||||
.usky-grid .removingControl{
|
||||
|
||||
@@ -23,12 +23,12 @@ angular.module("umbraco")
|
||||
start: function (e, ui) {
|
||||
ui.item.find('.mceNoEditor').each(function () {
|
||||
tinyMCE.execCommand('mceRemoveEditor', false, $(this).attr('id'));
|
||||
|
||||
});
|
||||
},
|
||||
|
||||
stop: function (e, ui) {
|
||||
ui.item.find('.mceNoEditor').each(function () {
|
||||
ui.item.parents(".usky-column").find('.mceNoEditor').each(function () {
|
||||
tinyMCE.execCommand('mceRemoveEditor', false, $(this).attr('id'));
|
||||
tinyMCE.execCommand('mceAddEditor', false, $(this).attr('id'));
|
||||
});
|
||||
}
|
||||
@@ -109,10 +109,10 @@ angular.module("umbraco")
|
||||
},
|
||||
|
||||
stop: function (e, ui) {
|
||||
ui.item.parents(".usky-cell").find('.mceNoEditor').each(function () {
|
||||
tinyMCE.execCommand('mceRemoveEditor', false, $(this).attr('id'));
|
||||
tinyMCE.execCommand('mceAddEditor', false, $(this).attr('id'));
|
||||
});
|
||||
//ui.item.parents(".usky-cell").find('.mceNoEditor').each(function () {
|
||||
// tinyMCE.execCommand('mceRemoveEditor', false, $(this).attr('id'));
|
||||
// tinyMCE.execCommand('mceAddEditor', false, $(this).attr('id'));
|
||||
//});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
class="usky-row"
|
||||
ng-mouseover="setCurrentRow(row)"
|
||||
ng-mouseleave="disableCurrentRow()"
|
||||
ng-class="{removingControl:currentRemoveControl == row, movingControl:currentMovedRow == row}">
|
||||
ng-class="{removingControl:currentRemoveControl == row, movingControl:currentMovedRow == row, selectedRow:currentRow == row && currentControl === null}">
|
||||
|
||||
<!-- Row tool -->
|
||||
<div class="row-tools" ng-animate="'fade'"
|
||||
|
||||
Reference in New Issue
Block a user