// Changes to features tab
This commit is contained in:
@@ -32,6 +32,10 @@
|
||||
code = (e.keyCode ? e.keyCode : e.which);
|
||||
return (code == 13) ? false : true;
|
||||
});
|
||||
|
||||
$('.confirm_leave').bind('click', function(){
|
||||
return confirm('{l s='You will lose all unsaved modifications, do you want to proceed?' js=1}');
|
||||
});
|
||||
});
|
||||
|
||||
</script>
|
||||
@@ -75,7 +79,7 @@
|
||||
<input type="hidden" name="feature_{$available_feature.id_feature}_value" value="0" />
|
||||
<span style="font-size: 10px; color: #666;">{l s='N/A'} -
|
||||
<a href="{$link->getAdminLink('AdminFeatures')}&addfeature_value&id_feature={$available_feature.id_feature}"
|
||||
style="color: #666; text-decoration: underline;">{l s='Add pre-defined values first'}</a>
|
||||
style="color: #666; text-decoration: underline;" class="confirm_leave">{l s='Add pre-defined values first'}</a>
|
||||
</span>
|
||||
{/if}
|
||||
</td>
|
||||
@@ -96,7 +100,7 @@
|
||||
</table>
|
||||
<div class="separation"></div>
|
||||
<div style="text-align:center;">
|
||||
<a href="{$link->getAdminLink('AdminFeatures')}&addfeature" onclick="return confirm('{l s='You will lose all modifications not saved, you may want to save modifications first?' js=1}');">
|
||||
<a href="{$link->getAdminLink('AdminFeatures')}&addfeature" class="confirm_leave">
|
||||
<img src="../img/admin/add.gif" alt="new_features" title="{l s='Add a new feature'}" /> {l s='Add a new feature'}
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -3503,7 +3503,7 @@ $_LANGADM['AdminProducts21021ea0e52be8e9c599f4dff41e5be0'] = 'Caractéristique';
|
||||
$_LANGADM['AdminProducts8bcdd31a1ab28f0db60efb2087c3f235'] = 'Valeur prédéfinie';
|
||||
$_LANGADM['AdminProducts12085f07b6313b69c63a625d8e23f706'] = 'Valeur personnalisé';
|
||||
$_LANGADM['AdminProducts382b0f5185773fa0f67a8ed8056c7759'] = 'N/A';
|
||||
$_LANGADM['AdminProducts544baae42433c186ff222736db985d7d'] = 'Ajouter une valeur prédéfini dans un premier temps';
|
||||
$_LANGADM['AdminProducts544baae42433c186ff222736db985d7d'] = 'Ajouter une valeur prédéfinie dans un premier temps';
|
||||
$_LANGADM['AdminProducts22eb5599cf8ccde65128467443e72099'] = 'Aucune caractéristique définie';
|
||||
$_LANGADM['AdminProducts22987d3b86cd0afd549196e94817e20f'] = 'Vous perdrez toutes les modifications non enregistrées, souhaitez-vous enregistrer ces dernières dans un premier temps ?';
|
||||
$_LANGADM['AdminProductsd6ae681fcd58f1e1936ca97da36528ff'] = 'Ajouter une nouvelle caractéristique';
|
||||
|
||||
Reference in New Issue
Block a user