FSN#35280 singlepress moet met nieuwste jQuery *echt* een id hebben
svn path=/Website/trunk/; revision=27941
This commit is contained in:
@@ -137,7 +137,7 @@ var kosten = oRs("kosten").value;
|
||||
%>
|
||||
</form>
|
||||
<%
|
||||
CreateButtons([ { title: L("lcl_res_duplicate"), action: "cnt_split_submit()", singlepress: true },
|
||||
CreateButtons([ { title: L("lcl_submit"), action: "cnt_split_submit()" },
|
||||
{ title: L("lcl_cancel"), action: "FcltMgr.closeDetail(window, { cancel: true })"} ]);
|
||||
%>
|
||||
</body>
|
||||
|
||||
@@ -227,7 +227,7 @@ var bits = getQParamInt("bits", 0); // Inspectie bits
|
||||
BLOCK_END();
|
||||
|
||||
var buttons = [];
|
||||
buttons.push({title: L("lcl_select"), action:"ins_submit()", singlepress: true})
|
||||
buttons.push({title: L("lcl_select"), action:"ins_submit()"})
|
||||
buttons.push({title: L("lcl_cancel"), action:"ins_cancel()"})
|
||||
CreateButtons(buttons)
|
||||
IFACE.FORM_END();
|
||||
|
||||
@@ -540,7 +540,7 @@ user.anything_todo_or_abort(this_ins.canChangeInt);
|
||||
BLOCK_END();
|
||||
|
||||
var buttons = [];
|
||||
buttons.push({title: L("lcl_submit"), action:"ins_submit()", singlepress: true})
|
||||
buttons.push({title: L("lcl_submit"), action:"ins_submit()"})
|
||||
buttons.push({title: L("lcl_delete"), action:"ins_delete()"})
|
||||
buttons.push({title: L("lcl_cancel"), action:"ins_cancel()"})
|
||||
CreateButtons(buttons)
|
||||
|
||||
@@ -70,6 +70,8 @@ var iface =
|
||||
{
|
||||
if (typeof btn == "object")
|
||||
btn = btn.id;
|
||||
if (!btn)
|
||||
alert("For button.disable it shoud have an id");
|
||||
// Kan ondertussen dubbel aanwezig zijn doordat we knoppen onderin frame herhalen
|
||||
// Een selectie via $("." + btn") werkt niet omdat jQuery dan alleen de eerste id ophaalt
|
||||
var $btn = $("li[id=" + btn + "]");
|
||||
|
||||
Reference in New Issue
Block a user