Merge pull request #2473 from luisfernandosl/BUG-15196
BUG 15196 "You are able to select various user..." SOLVED
This commit is contained in:
@@ -354,7 +354,7 @@ switch ($_POST['action']) {
|
|||||||
$rsCriteria = TaskUserPeer::doSelectRS($criteria);
|
$rsCriteria = TaskUserPeer::doSelectRS($criteria);
|
||||||
$rsCriteria->setFetchmode(ResultSet::FETCHMODE_ASSOC);
|
$rsCriteria->setFetchmode(ResultSet::FETCHMODE_ASSOC);
|
||||||
|
|
||||||
if($rsCriteria->next() != 0) {
|
if ($rsCriteria->next()) {
|
||||||
$message = "ERROR";
|
$message = "ERROR";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -293,7 +293,7 @@ Ext.onReady(function(){
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
loadMaskStep.show();
|
loadMaskStep.show();
|
||||||
document.getElementById("openCaseFrame").src = node.attributes.url;
|
document.getElementById("openCaseFrame").src = node.attributes.url;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -462,12 +462,12 @@ Ext.onReady(function(){
|
|||||||
icon: Ext.MessageBox.ERROR,
|
icon: Ext.MessageBox.ERROR,
|
||||||
buttons: Ext.MessageBox.OK,
|
buttons: Ext.MessageBox.OK,
|
||||||
fn : function(btn) {
|
fn : function(btn) {
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
prnt = parent.parent;
|
prnt = parent.parent;
|
||||||
top.location = top.location;
|
top.location = top.location;
|
||||||
}
|
}
|
||||||
catch (err)
|
catch (err)
|
||||||
{
|
{
|
||||||
parent.location = parent.location;
|
parent.location = parent.location;
|
||||||
}
|
}
|
||||||
@@ -500,12 +500,12 @@ Ext.onReady(function(){
|
|||||||
icon: Ext.MessageBox.ERROR,
|
icon: Ext.MessageBox.ERROR,
|
||||||
buttons: Ext.MessageBox.OK,
|
buttons: Ext.MessageBox.OK,
|
||||||
fn : function(btn) {
|
fn : function(btn) {
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
prnt = parent.parent;
|
prnt = parent.parent;
|
||||||
top.location = top.location;
|
top.location = top.location;
|
||||||
}
|
}
|
||||||
catch (err)
|
catch (err)
|
||||||
{
|
{
|
||||||
parent.location = parent.location;
|
parent.location = parent.location;
|
||||||
}
|
}
|
||||||
@@ -577,12 +577,12 @@ Ext.onReady(function(){
|
|||||||
icon: Ext.MessageBox.ERROR,
|
icon: Ext.MessageBox.ERROR,
|
||||||
buttons: Ext.MessageBox.OK,
|
buttons: Ext.MessageBox.OK,
|
||||||
fn : function(btn) {
|
fn : function(btn) {
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
prnt = parent.parent;
|
prnt = parent.parent;
|
||||||
top.location = top.location;
|
top.location = top.location;
|
||||||
}
|
}
|
||||||
catch (err)
|
catch (err)
|
||||||
{
|
{
|
||||||
parent.location = parent.location;
|
parent.location = parent.location;
|
||||||
}
|
}
|
||||||
@@ -656,12 +656,12 @@ Ext.onReady(function(){
|
|||||||
icon: Ext.MessageBox.ERROR,
|
icon: Ext.MessageBox.ERROR,
|
||||||
buttons: Ext.MessageBox.OK,
|
buttons: Ext.MessageBox.OK,
|
||||||
fn : function(btn) {
|
fn : function(btn) {
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
prnt = parent.parent;
|
prnt = parent.parent;
|
||||||
top.location = top.location;
|
top.location = top.location;
|
||||||
}
|
}
|
||||||
catch (err)
|
catch (err)
|
||||||
{
|
{
|
||||||
parent.location = parent.location;
|
parent.location = parent.location;
|
||||||
}
|
}
|
||||||
@@ -694,12 +694,12 @@ Ext.onReady(function(){
|
|||||||
icon: Ext.MessageBox.ERROR,
|
icon: Ext.MessageBox.ERROR,
|
||||||
buttons: Ext.MessageBox.OK,
|
buttons: Ext.MessageBox.OK,
|
||||||
fn : function(btn) {
|
fn : function(btn) {
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
prnt = parent.parent;
|
prnt = parent.parent;
|
||||||
top.location = top.location;
|
top.location = top.location;
|
||||||
}
|
}
|
||||||
catch (err)
|
catch (err)
|
||||||
{
|
{
|
||||||
parent.location = parent.location;
|
parent.location = parent.location;
|
||||||
}
|
}
|
||||||
@@ -732,12 +732,12 @@ Ext.onReady(function(){
|
|||||||
icon: Ext.MessageBox.ERROR,
|
icon: Ext.MessageBox.ERROR,
|
||||||
buttons: Ext.MessageBox.OK,
|
buttons: Ext.MessageBox.OK,
|
||||||
fn : function(btn) {
|
fn : function(btn) {
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
prnt = parent.parent;
|
prnt = parent.parent;
|
||||||
top.location = top.location;
|
top.location = top.location;
|
||||||
}
|
}
|
||||||
catch (err)
|
catch (err)
|
||||||
{
|
{
|
||||||
parent.location = parent.location;
|
parent.location = parent.location;
|
||||||
}
|
}
|
||||||
@@ -770,12 +770,12 @@ Ext.onReady(function(){
|
|||||||
icon: Ext.MessageBox.ERROR,
|
icon: Ext.MessageBox.ERROR,
|
||||||
buttons: Ext.MessageBox.OK,
|
buttons: Ext.MessageBox.OK,
|
||||||
fn : function(btn) {
|
fn : function(btn) {
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
prnt = parent.parent;
|
prnt = parent.parent;
|
||||||
top.location = top.location;
|
top.location = top.location;
|
||||||
}
|
}
|
||||||
catch (err)
|
catch (err)
|
||||||
{
|
{
|
||||||
parent.location = parent.location;
|
parent.location = parent.location;
|
||||||
}
|
}
|
||||||
@@ -808,12 +808,12 @@ Ext.onReady(function(){
|
|||||||
icon: Ext.MessageBox.ERROR,
|
icon: Ext.MessageBox.ERROR,
|
||||||
buttons: Ext.MessageBox.OK,
|
buttons: Ext.MessageBox.OK,
|
||||||
fn : function(btn) {
|
fn : function(btn) {
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
prnt = parent.parent;
|
prnt = parent.parent;
|
||||||
top.location = top.location;
|
top.location = top.location;
|
||||||
}
|
}
|
||||||
catch (err)
|
catch (err)
|
||||||
{
|
{
|
||||||
parent.location = parent.location;
|
parent.location = parent.location;
|
||||||
}
|
}
|
||||||
@@ -954,7 +954,7 @@ Ext.onReady(function(){
|
|||||||
{header: _('ID_LASTNAME'), dataIndex: 'USR_LASTNAME', width: 300}
|
{header: _('ID_LASTNAME'), dataIndex: 'USR_LASTNAME', width: 300}
|
||||||
]
|
]
|
||||||
}),
|
}),
|
||||||
|
sm: new Ext.grid.RowSelectionModel({singleSelect: true}),
|
||||||
store: store,
|
store: store,
|
||||||
|
|
||||||
tbar:[
|
tbar:[
|
||||||
@@ -997,12 +997,12 @@ Ext.onReady(function(){
|
|||||||
icon: Ext.MessageBox.ERROR,
|
icon: Ext.MessageBox.ERROR,
|
||||||
buttons: Ext.MessageBox.OK,
|
buttons: Ext.MessageBox.OK,
|
||||||
fn : function(btn) {
|
fn : function(btn) {
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
prnt = parent.parent;
|
prnt = parent.parent;
|
||||||
top.location = top.location;
|
top.location = top.location;
|
||||||
}
|
}
|
||||||
catch (err)
|
catch (err)
|
||||||
{
|
{
|
||||||
parent.location = parent.location;
|
parent.location = parent.location;
|
||||||
}
|
}
|
||||||
@@ -1153,12 +1153,12 @@ Ext.onReady(function(){
|
|||||||
icon: Ext.MessageBox.ERROR,
|
icon: Ext.MessageBox.ERROR,
|
||||||
buttons: Ext.MessageBox.OK,
|
buttons: Ext.MessageBox.OK,
|
||||||
fn : function(btn) {
|
fn : function(btn) {
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
prnt = parent.parent;
|
prnt = parent.parent;
|
||||||
top.location = top.location;
|
top.location = top.location;
|
||||||
}
|
}
|
||||||
catch (err)
|
catch (err)
|
||||||
{
|
{
|
||||||
parent.location = parent.location;
|
parent.location = parent.location;
|
||||||
}
|
}
|
||||||
@@ -1191,12 +1191,12 @@ Ext.onReady(function(){
|
|||||||
icon: Ext.MessageBox.ERROR,
|
icon: Ext.MessageBox.ERROR,
|
||||||
buttons: Ext.MessageBox.OK,
|
buttons: Ext.MessageBox.OK,
|
||||||
fn : function(btn) {
|
fn : function(btn) {
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
prnt = parent.parent;
|
prnt = parent.parent;
|
||||||
top.location = top.location;
|
top.location = top.location;
|
||||||
}
|
}
|
||||||
catch (err)
|
catch (err)
|
||||||
{
|
{
|
||||||
parent.location = parent.location;
|
parent.location = parent.location;
|
||||||
}
|
}
|
||||||
@@ -1300,12 +1300,12 @@ Ext.onReady(function(){
|
|||||||
icon: Ext.MessageBox.ERROR,
|
icon: Ext.MessageBox.ERROR,
|
||||||
buttons: Ext.MessageBox.OK,
|
buttons: Ext.MessageBox.OK,
|
||||||
fn : function(btn) {
|
fn : function(btn) {
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
prnt = parent.parent;
|
prnt = parent.parent;
|
||||||
top.location = top.location;
|
top.location = top.location;
|
||||||
}
|
}
|
||||||
catch (err)
|
catch (err)
|
||||||
{
|
{
|
||||||
parent.location = parent.location;
|
parent.location = parent.location;
|
||||||
}
|
}
|
||||||
@@ -1386,12 +1386,12 @@ Ext.onReady(function(){
|
|||||||
icon: Ext.MessageBox.ERROR,
|
icon: Ext.MessageBox.ERROR,
|
||||||
buttons: Ext.MessageBox.OK,
|
buttons: Ext.MessageBox.OK,
|
||||||
fn : function(btn) {
|
fn : function(btn) {
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
prnt = parent.parent;
|
prnt = parent.parent;
|
||||||
top.location = top.location;
|
top.location = top.location;
|
||||||
}
|
}
|
||||||
catch (err)
|
catch (err)
|
||||||
{
|
{
|
||||||
parent.location = parent.location;
|
parent.location = parent.location;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user