Merge pull request #1297 from emanuelschuetze/fix-1104

Fixed #1104 (Enable copy/paste in dashboard widgets)
This commit is contained in:
Oskar Hahn 2014-05-19 14:58:01 +02:00
commit 0feed94bf6
2 changed files with 7 additions and 0 deletions

View File

@ -33,6 +33,12 @@
border: 1px solid #D5D5D5; border: 1px solid #D5D5D5;
border-radius: 5px 5px 0 0; border-radius: 5px 5px 0 0;
} }
.widget-header:hover {
cursor: pointer;
}
.widget-header button:hover {
cursor: default;
}
.widget-header h3 { .widget-header h3 {
margin: 7px 0 7px 14px; margin: 7px 0 7px 14px;
font-size: 14px; font-size: 14px;

View File

@ -61,6 +61,7 @@ function restoreOrder() {
$(function() { $(function() {
$( ".column" ).sortable({ $( ".column" ).sortable({
connectWith: ".column", connectWith: ".column",
handle: ".widget-header",
stop: function() { saveOrder(); } stop: function() { saveOrder(); }
}); });