KFSG#45329 Planbord button opmaak verbeterd na onClick

svn path=/Website/branches/v2017.2/; revision=36034
This commit is contained in:
2017-11-17 11:22:49 +00:00
parent 08aeb15e9b
commit 72996fabbf
3 changed files with 14 additions and 2 deletions

View File

@@ -151,7 +151,10 @@ var res_tot = new Date(<%=date_to.getTime()%>);
axis: "<%=show_park?'y':'xy'%>" // werkt slecht binnen plantd
});
});
$("#btnchange").html(L("lcl_res_edit_inplanbord"));
$("#btnchange").html(L("lcl_res_edit_inplanbord"))
.addClass("noHover")
.removeClass("btn_disabled"); // Remove disabled CSS
return true; // But keep button onClick disabled
};
</script>

View File

@@ -234,7 +234,10 @@ hour_px = res.hour_px(width_px - 400, nr_days);
//axis: "xy"
});
});
$("#btnchange").html(L("lcl_res_edit_inplanbord"));
$("#btnchange").html(L("lcl_res_edit_inplanbord"))
.addClass("noHover")
.removeClass("btn_disabled"); // Remove disabled CSS
return true; // But keep button onClick disabled
}
<% if (autosearch && samedate)
{ %>

View File

@@ -1326,6 +1326,12 @@ div.buttoncontainer {
text-decoration: none;
}
#buttons ul li.hasIcon.noHover:hover {
cursor: default;
color: ==buttoncolor==;
background-color:==iconbackgroundcolor==;
}
.btn_disabled
{
opacity: 0.6;