set button state when choosing with right-click
This commit is contained in:
@@ -306,7 +306,11 @@ $.contextMenu({
|
|||||||
build: function($triggerElement, e){
|
build: function($triggerElement, e){
|
||||||
// when right-clicking & no selection add one OR deal with ctrl/shift right-lick as it always changes seln
|
// when right-clicking & no selection add one OR deal with ctrl/shift right-lick as it always changes seln
|
||||||
if( NoSel() || e.ctrlKey || e.shiftKey )
|
if( NoSel() || e.ctrlKey || e.shiftKey )
|
||||||
|
{
|
||||||
DoSel(e, e.currentTarget )
|
DoSel(e, e.currentTarget )
|
||||||
|
SetButtonState();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
if( FiguresOrDirsOrBoth() == "figure" )
|
if( FiguresOrDirsOrBoth() == "figure" )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user