Skip to content

Commit 533cb69

Browse files
committed
FC-3010 fix objectadmin dialogs for bulk upload / undelete
1 parent d35d6fb commit 533cb69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/farcry/objectadmin.cfc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ environment references (might be nice to clean these up)
488488
stBut.name="bulkupload";
489489
stBut.value="Bulk Upload";
490490
stBut.class="f-submit";
491-
stBut.onClick="$fc.objectAdminAction('Bulk Upload', '#application.url.webtop#/index.cfm?typename=#attributes.typename#&view=webtopPageModal&bodyView=webtopBodyBulkUpload'); return false;";
491+
stBut.onClick="$fc.objectAdminAction('Bulk Upload', '#application.url.webtop#/index.cfm?id=#url.id#&typename=#attributes.typename#&view=webtopPageModal&bodyView=webtopBodyBulkUpload'); return false;";
492492
stBut.permission=application.security.checkPermission(permission="Create",type=attributes.permissionset);
493493
stBut.buttontype="bulkupload";
494494
stBut.icon="fa-cloud-upload";
@@ -502,7 +502,7 @@ environment references (might be nice to clean these up)
502502
stBut.name="undelete";
503503
stBut.value="Undelete";
504504
stBut.class="f-submit";
505-
stBut.onClick="$fc.objectAdminAction('Undelete', '#application.url.webtop#/index.cfm?typename=dmArchive&view=webtopPageModal&bodyView=webtopBody&archivetype=#attributes.typename#'); return false;";;
505+
stBut.onClick="$fc.objectAdminAction('Undelete', '#application.url.webtop#/index.cfm?id=#url.id#&typename=dmArchive&view=webtopPageModal&bodyView=webtopBody&archivetype=#attributes.typename#'); return false;";
506506
stBut.permission=application.security.checkPermission(permission="Create",type=attributes.permissionset);
507507
stBut.buttontype="undelete";
508508
stBut.icon="fa-undo";

0 commit comments

Comments
 (0)