Post by cwswebdesign » Wed Nov 06, 2013 8:15 am

admin/view/template/catalog/product_list.tpl Line 17

Code: Select all

<a onclick="$('form').submit();" class="button"><?php echo $button_delete; ?>
needs to be

Code: Select all

<a onclick="$('#form').submit();" class="button"><?php echo $button_delete; ?>
This prevents a new tab/window from being opened when deleting products.

DL

This account is inactive. Look for us under the name 'EvolveWebHosting' and contact us under that username.

Thanks!


User avatar
Active Member

Posts

Joined
Sun Dec 11, 2011 12:26 am
Location - USA

Post by butte » Wed Nov 06, 2013 11:49 am

Given that it is already anchored, in <a, it could be further forced to stay in its own tab or window (depending upon browser settings) by adding name="self" href="[its own route]#" with target="_self" or the equivalent onClick parent.string; -- all three approaches at once would tend to outsmart the unthinkable that InsidiousExpress often tends to do.
Last edited by butte on Wed Nov 06, 2013 1:14 pm, edited 1 time in total.

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am

Post by cwswebdesign » Wed Nov 06, 2013 12:44 pm

butte wrote:Given that it is already anchored, in <a, it could be further forced to stay in its own tab or window (depending upon browser settings) by adding name="self" href="[its own route]# with target="_self" or the equivalent onClick parent.string; -- all three approaches at once would tend to outsmart the unthinkable that InsidiousExpress often tends to do.
This was happening in FF 25 on a Mac and the # seems to fix it.

This account is inactive. Look for us under the name 'EvolveWebHosting' and contact us under that username.

Thanks!


User avatar
Active Member

Posts

Joined
Sun Dec 11, 2011 12:26 am
Location - USA

Post by butte » Wed Nov 06, 2013 1:22 pm

Good to know. I'm with 23 (pc) and skipping 24 after I watched a 24 do something I dinna like in "upgrading" on another machine, so now I'll skip 25, too. Sometimes a "version" or so can be done without.

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am

Post by adriankoooo » Tue Mar 01, 2016 2:16 am

Thanks.

Active Member

Posts

Joined
Thu Mar 03, 2011 6:52 am

Who is online

Users browsing this forum: No registered users and 2 guests