mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 07:12:26 +02:00
Portal: BrowseBrick: Primary action is now also displayed in the secondary actions menu
SVN:trunk[4727]
This commit is contained in:
@@ -246,9 +246,9 @@
|
|||||||
|
|
||||||
if(levelActionsKeys.length > 1)
|
if(levelActionsKeys.length > 1)
|
||||||
{
|
{
|
||||||
// Retrieving secondary action
|
// Retrieving secondary action (Now we also display primary action)
|
||||||
var actionsButtons = {};
|
var actionsButtons = {};
|
||||||
for(j = 1; j < levelActionsKeys.length; j++)
|
for(j = 0; j < levelActionsKeys.length; j++)
|
||||||
{
|
{
|
||||||
actionsButtons[levelActionsKeys[j]] = levelActions[levelActionsKeys[j]];
|
actionsButtons[levelActionsKeys[j]] = levelActions[levelActionsKeys[j]];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -108,9 +108,9 @@
|
|||||||
// - Secondary actions
|
// - Secondary actions
|
||||||
if(levelActionsKeys.length > 1)
|
if(levelActionsKeys.length > 1)
|
||||||
{
|
{
|
||||||
// Retrieving secondary action
|
// Retrieving secondary action (Now we also display primary action)
|
||||||
var actionsButtons = {};
|
var actionsButtons = {};
|
||||||
for(j = 1; j < levelActionsKeys.length; j++)
|
for(j = 0; j < levelActionsKeys.length; j++)
|
||||||
{
|
{
|
||||||
actionsButtons[levelActionsKeys[j]] = levelActions[levelActionsKeys[j]];
|
actionsButtons[levelActionsKeys[j]] = levelActions[levelActionsKeys[j]];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -244,9 +244,9 @@
|
|||||||
|
|
||||||
if(levelActionsKeys.length > 1)
|
if(levelActionsKeys.length > 1)
|
||||||
{
|
{
|
||||||
// Retrieving secondary action
|
// Retrieving secondary action (Now we also display primary action)
|
||||||
var actionsButtons = {};
|
var actionsButtons = {};
|
||||||
for(j = 1; j < levelActionsKeys.length; j++)
|
for(j = 0; j < levelActionsKeys.length; j++)
|
||||||
{
|
{
|
||||||
actionsButtons[levelActionsKeys[j]] = levelActions[levelActionsKeys[j]];
|
actionsButtons[levelActionsKeys[j]] = levelActions[levelActionsKeys[j]];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user