зеркало из https://github.com/mozilla/pjs.git
Fixing bug 166762.
This commit is contained in:
Родитель
0c4d7caaaa
Коммит
0d2c9282cf
|
@ -519,7 +519,10 @@ function updateOKButton()
|
||||||
|
|
||||||
var CheckRecurTime = checkRecurTime();
|
var CheckRecurTime = checkRecurTime();
|
||||||
|
|
||||||
document.getElementById( "calendar-new-eventwindow" ).getButton( "accept" ).setAttribute( "disabled", !( CheckEndTime && CheckRecurTime ) );
|
if( ( CheckEndTime && CheckRecurTime ) === false )
|
||||||
|
document.getElementById( "calendar-new-eventwindow" ).getButton( "accept" ).setAttribute( "disabled", true );
|
||||||
|
else
|
||||||
|
document.getElementById( "calendar-new-eventwindow" ).getButton( "accept" ).removeAttribute( "disabled" );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -519,7 +519,10 @@ function updateOKButton()
|
||||||
|
|
||||||
var CheckRecurTime = checkRecurTime();
|
var CheckRecurTime = checkRecurTime();
|
||||||
|
|
||||||
document.getElementById( "calendar-new-eventwindow" ).getButton( "accept" ).setAttribute( "disabled", !( CheckEndTime && CheckRecurTime ) );
|
if( ( CheckEndTime && CheckRecurTime ) === false )
|
||||||
|
document.getElementById( "calendar-new-eventwindow" ).getButton( "accept" ).setAttribute( "disabled", true );
|
||||||
|
else
|
||||||
|
document.getElementById( "calendar-new-eventwindow" ).getButton( "accept" ).removeAttribute( "disabled" );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Загрузка…
Ссылка в новой задаче