mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-23 05:09:56 +09:00
The group_srl can be in both string("123")/integer(123) form depending on the DB connector. So force it to string to make the inArray function work correctly
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12191 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
2b5c3f44e9
commit
679c6035ab
1 changed files with 2 additions and 2 deletions
|
|
@ -1415,7 +1415,7 @@ jQuery(function($){
|
|||
// can't paste into a child menu of the source menu
|
||||
var sParentSrl = $._xeAdminVar.sSelectedMenuSrl;
|
||||
do{
|
||||
if(sParentSrl === $._xeAdminVar.sCopySourceMenuSrl){
|
||||
if(sParentSrl == $._xeAdminVar.sCopySourceMenuSrl){
|
||||
alert(xe.lang.msg_target_is_sub_of_origin);
|
||||
return;
|
||||
}
|
||||
|
|
@ -2069,7 +2069,7 @@ jQuery(function($){
|
|||
|
||||
$node.find('._groups').show();
|
||||
|
||||
if(aGroup && $.inArray(htInfo.group_srl, aGroup) !== -1){
|
||||
if(aGroup && $.inArray("" + htInfo.group_srl, aGroup) !== -1){
|
||||
sChecked = "checked";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue