mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-19 00:28:47 +02:00
Reload the impact/depends on graph only on demand for better performance, via the new Refresh button
SVN:1.2[2088]
This commit is contained in:
@@ -788,5 +788,6 @@ Wenn Aktionen mit Trigger verknüpft sind, bekommt jede Aktion eine Auftragsnumm
|
||||
'UI:FavoriteOrganizations+' => '',
|
||||
'UI:NavigateAwayConfirmationMessage' => 'Alle Änderungen werden verworfen.',
|
||||
'UI:Create_Class_InState' => 'Lege %1$s an in Status: ',
|
||||
'UI:Button:Refresh' => 'Neu laden',
|
||||
));
|
||||
?>
|
||||
|
||||
@@ -963,5 +963,6 @@ When associated with a trigger, each action is given an "order" number, specifyi
|
||||
'Note that this is not a security setting, objects from any organization are still visible and can be accessed by selecting "All Organizations" in the drop-down list.',
|
||||
'UI:NavigateAwayConfirmationMessage' => 'Any modification will be discarded.',
|
||||
'UI:Create_Class_InState' => 'Create the %1$s in state: ',
|
||||
'UI:Button:Refresh' => 'Refresh',
|
||||
));
|
||||
?>
|
||||
|
||||
@@ -806,5 +806,6 @@ Lors de l\'association à un déclencheur, on attribue à chaque action un numé
|
||||
'Ceci n\'est pas un réglage de sécurité. Les objets de toutes les organisations sont toujours visibles en choisissant "Toutes les Organisations" dans le menu.',
|
||||
'UI:NavigateAwayConfirmationMessage' => 'Toute modification sera perdue.',
|
||||
'UI:Create_Class_InState' => 'Créer l\'objet %1$s dans l\'état: ',
|
||||
'UI:Button:Refresh' => 'Rafraîchir',
|
||||
));
|
||||
?>
|
||||
|
||||
@@ -772,5 +772,6 @@ Akció kiváltó okhoz rendelésekor kap egy sorszámot , amely meghatározza az
|
||||
'UI:ActionNotAllowed' => 'Ennek a műveletnek a végrehajtása nem engedélyezett ezen az objektumon.',
|
||||
'UI:BulkAction:NoObjectSelected' => 'Válasszon ki legalább egy objketumot a művelet végrehajtásához',
|
||||
'UI:AttemptingToChangeASlaveAttribute_Name' => '%1$s mező nem írható, mert a szinkronizációnál használt kulcs. Érték változatlan maradt.',
|
||||
'UI:Button:Refresh' => 'Frissítés',
|
||||
));
|
||||
?>
|
||||
@@ -908,5 +908,6 @@ Quando è associata a un trigger, ad ogni azione è assegnato un numero "ordine"
|
||||
'UI:ActionNotAllowed' => 'Non hai i permessi per eseguire questa azione su questi oggetti.',
|
||||
'UI:BulkAction:NoObjectSelected' => 'Si prega di selezionare almeno un oggetto per eseguire questa operazione',
|
||||
'UI:AttemptingToChangeASlaveAttribute_Name' => 'Il campo %1$s on è scrivibile, perché è comandato dalla sincronizzazione dei dati. Valore rimane invariato.',
|
||||
'UI:Button:Refresh' => 'Ricarica',
|
||||
));
|
||||
?>
|
||||
|
||||
@@ -907,6 +907,7 @@ Dict::Add('JA JP', 'Japanese', '日本語', array(
|
||||
'Portal:RemoveAttachment' => ' 添付を除去する ', // ' Remove Attachment ',
|
||||
'Portal:Attachment_No_To_Ticket_Name' => '#%1$d を$2$s ($3$s)に添付する', // 'Attachment #%1$d to %2$s (%3$s)',
|
||||
'Enum:Undefined' => '定義されていません', // 'Undefined',
|
||||
'UI:Button:Refresh' => '更新', // 'Refresh',
|
||||
));
|
||||
|
||||
|
||||
|
||||
@@ -960,5 +960,6 @@ Quando associada a um gatilho, cada ação é dada um número "ordem", especific
|
||||
'Note-se que esta não é uma configuração de segurança, objetos de qualquer organização ainda são visíveis e podem ser acessadas selecionando a opção "Todas as Organizações" na lista drop-down.',
|
||||
'UI:NavigateAwayConfirmationMessage' => 'Qualquer modificação será descartada.',
|
||||
'UI:Create_Class_InState' => 'Criar o %1$s em estado: ',
|
||||
'UI:Button:Refresh' => 'Atualizar',
|
||||
));
|
||||
?>
|
||||
|
||||
@@ -872,6 +872,7 @@ Dict::Add('RU RU', 'Russian', 'Русский', array(
|
||||
'Portal:ErrorNoContactForThisUser' => 'Ошибка: текющий пользователь не ассоциирован с Контактом/Человеком. Пожалуйста свяжитесь с вашим администратором.',
|
||||
|
||||
'Enum:Undefined' => 'Неопределён',
|
||||
'UI:Button:Refresh' => 'Обновить',
|
||||
));
|
||||
|
||||
|
||||
|
||||
@@ -871,8 +871,6 @@ Tetikleme gerçekleştiriğinde işlemler tanımlanan sıra numarası ile gerçe
|
||||
'Portal:ErrorNoContactForThisUser' => 'Hata: mevcut kullanıcının irtibat bilgisi yok. Sistem yöneticisi ile irtibata geçiniz.',
|
||||
|
||||
'Enum:Undefined' => 'Tanımsız',
|
||||
'UI:Button:Refresh' => 'Yenile',
|
||||
));
|
||||
|
||||
|
||||
|
||||
?>
|
||||
|
||||
@@ -869,6 +869,7 @@ Dict::Add('ZH CN', 'Chinese', '简体中文', array(
|
||||
'Portal:ErrorNoContactForThisUser' => '错误: 当前用户没有和一个联系人或人员关联. 请联系您的系统管理员.',
|
||||
|
||||
'Enum:Undefined' => '未定义',
|
||||
'UI:Button:Refresh' => '刷新',
|
||||
));
|
||||
|
||||
|
||||
|
||||
@@ -48,6 +48,7 @@
|
||||
m_aNodes = new Array();
|
||||
m_sExclude = '';
|
||||
m_fZoom = 1;
|
||||
m_oLoader = null;
|
||||
initParameters();
|
||||
var success = true;
|
||||
if (ExternalInterface.available)
|
||||
@@ -168,6 +169,10 @@
|
||||
var myString:String = m_sDataUrl+sSeparator+'relation='+m_sRelation+'&class='+m_sObjClass+'&id='+m_sObjId+'&exclude='+m_sExclude;
|
||||
trace("Requesting:"+myString);
|
||||
var myXMLURL:URLRequest = new URLRequest(myString);
|
||||
if (m_oLoader != null)
|
||||
{
|
||||
m_oLoader.close();
|
||||
}
|
||||
m_oLoader = new URLLoader();
|
||||
m_oLoader.addEventListener(Event.COMPLETE, onXMLLoadComplete);
|
||||
m_oLoader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, onXMLLoadError);
|
||||
|
||||
Binary file not shown.
@@ -2056,10 +2056,11 @@ EOF
|
||||
$idx = 0;
|
||||
foreach($aSortedElements as $sSubClass => $sClassName)
|
||||
{
|
||||
$oP->add("<span style=\"padding-right:2em; white-space:nowrap;\"><input type=\"checkbox\" id=\"exclude_$idx\" name=\"excluded[]\" value=\"$sSubClass\" checked onChange=\"DoReload()\"><label for=\"exclude_$idx\"> ".MetaModel::GetClassIcon($sSubClass)." $sClassName</label></span> ");
|
||||
$oP->add("<span style=\"padding-right:2em; white-space:nowrap;\"><input type=\"checkbox\" id=\"exclude_$idx\" name=\"excluded[]\" value=\"$sSubClass\" checked onChange=\"$('#ReloadMovieBtn').button('enable')\"><label for=\"exclude_$idx\"> ".MetaModel::GetClassIcon($sSubClass)." $sClassName</label></span> ");
|
||||
$idx++;
|
||||
}
|
||||
$oP->add("</div>\n");
|
||||
$oP->add("<p style=\"text-align:right\"><button type=\"button\" id=\"ReloadMovieBtn\" onClick=\"DoReload()\">".Dict::S('UI:Button:Refresh')."</button></p>");
|
||||
$oP->add("</div>\n");
|
||||
$oP->add("<div class=\"HRDrawer\"></div>\n");
|
||||
$oP->add("<div id=\"dh_flash\" class=\"DrawerHandle\">".Dict::S('UI:ElementsDisplayed')."</div>\n");
|
||||
|
||||
@@ -2123,6 +2124,8 @@ EOF
|
||||
<<<EOF
|
||||
var ajax_request = null;
|
||||
|
||||
$('#ReloadMovieBtn').button().button('disable');
|
||||
|
||||
function UpdateImpactedObjects(sClass, iId, sRelation)
|
||||
{
|
||||
var class_name = sClass; //$('select[name=class_name]').val();
|
||||
|
||||
Reference in New Issue
Block a user