@ -189,12 +189,6 @@ function initCommentForm() {
var $list = $ ( '.ui' + select _id + '.list' ) ;
var $list = $ ( '.ui' + select _id + '.list' ) ;
var hasUpdateAction = $menu . data ( 'action' ) == 'update' ;
var hasUpdateAction = $menu . data ( 'action' ) == 'update' ;
$ ( select _id ) . dropdown ( 'setting' , 'onHide' , function ( ) {
if ( hasUpdateAction ) {
location . reload ( ) ;
}
} ) ;
$menu . find ( '.item:not(.no-select)' ) . click ( function ( ) {
$menu . find ( '.item:not(.no-select)' ) . click ( function ( ) {
$ ( this ) . parent ( ) . find ( '.item' ) . each ( function ( ) {
$ ( this ) . parent ( ) . find ( '.item' ) . each ( function ( ) {
$ ( this ) . removeClass ( 'selected active' )
$ ( this ) . removeClass ( 'selected active' )
@ -206,7 +200,8 @@ function initCommentForm() {
$menu . data ( 'update-url' ) ,
$menu . data ( 'update-url' ) ,
"" ,
"" ,
$menu . data ( 'issue-id' ) ,
$menu . data ( 'issue-id' ) ,
$ ( this ) . data ( 'id' )
$ ( this ) . data ( 'id' ) ,
function ( ) { location . reload ( ) ; }
) ;
) ;
}
}
switch ( input _id ) {
switch ( input _id ) {
@ -232,7 +227,8 @@ function initCommentForm() {
$menu . data ( 'update-url' ) ,
$menu . data ( 'update-url' ) ,
"" ,
"" ,
$menu . data ( 'issue-id' ) ,
$menu . data ( 'issue-id' ) ,
$ ( this ) . data ( 'id' )
$ ( this ) . data ( 'id' ) ,
function ( ) { location . reload ( ) ; }
) ;
) ;
}
}