Fixed #1104 (Enable copy/paste in dashboard widgets)

This commit is contained in:
Emanuel Schuetze 2014-05-18 20:42:29 +02:00
parent 77c168f337
commit 6cb99d9128
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(); }
}); });