HCAS#38963 mld_double.asp -> knoppen naar links verplaatst als 'device == touch'

svn path=/Website/branches/v2017.1/; revision=34099
This commit is contained in:
2017-06-01 11:38:17 +00:00
parent f682af4516
commit 1de31ae785
3 changed files with 11 additions and 8 deletions

View File

@@ -205,7 +205,7 @@ var where_ins = "";
var buttons = [ {title: L("lcl_not_link"), icon: "opslaan.png", action: "mld_double(2)" }, var buttons = [ {title: L("lcl_not_link"), icon: "opslaan.png", action: "mld_double(2)" },
{title: L("lcl_mld_cancel_double"), icon: "undo.png", action: "mld_cancel()" } ]; {title: L("lcl_mld_cancel_double"), icon: "undo.png", action: "mld_cancel()" } ];
} }
CreateButtons(buttons); CreateButtons(buttons, {left: device.test(device.isTouch)});
%> %>
</body> </body>
</html> </html>

View File

@@ -1261,6 +1261,9 @@ div#buttons.vertical ul li:hover {
color: ==blockheaderbackgroundcolor==; color: ==blockheaderbackgroundcolor==;
background-color: transparent; background-color: transparent;
} }
#buttons.left {
float: left;
}
div#buttons.dialog { div#buttons.dialog {
background-color: transparent; background-color: transparent;

View File

@@ -73,7 +73,7 @@ function CreateButtons(buttons, params)
if (buttons) if (buttons)
{ {
%> <div id="buttons" class="<%= params.vertical?'vertical ':''%> <%= params.isDialog?'dialog':''%>"> %> <div id="buttons" class="<%= params.left?'left ':''%><%= params.vertical?'vertical ':''%> <%= params.isDialog?'dialog':''%>">
<ul onclick="FcltMgr.stopPropagation(event);"> <ul onclick="FcltMgr.stopPropagation(event);">
<% <%
if (1&&params.entersubmit) if (1&&params.entersubmit)