Changeset 27149


Ignore:
Timestamp:
Feb 3, 2014, 4:00:18 PM (7 years ago)
Author:
plg
Message:

prevent drag'n drop images (in addition to right click)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/rightClick/template/rightClick_protect.tpl

    r20062 r27149  
    44  jQuery(document).on('contextmenu', '{','|@implode:$RIGHTCK.Selectors}',  function() {ldelim}
    55    return false;
    6   });   
     6  });
     7       
     8  jQuery(document).on('dragstart', '{','|@implode:$RIGHTCK.Selectors}',  function() {ldelim}
     9    return false;
     10  });
    711});
    812{/footer_script}
Note: See TracChangeset for help on using the changeset viewer.