Skip to content
Snippets Groups Projects
Verified Commit 625e98bb authored by Giovannoni Laurent's avatar Giovannoni Laurent
Browse files

FIX #8640 desactivate button to choose contact list if in edit mode

parent f139edee
No related branches found
No related tags found
No related merge requests found
......@@ -1200,7 +1200,7 @@ $content .= '<div class="transmissionDiv" id="addAttach1">';
$content .= ' <input type="button" value="';
$content .= _EDIT_MODEL;
$content .= '" name="templateOffice_edit[]" id="templateOffice_edit" style="display:none;margin-top: 0" class="button" '
.'onclick="showAppletLauncher(this, \''.$_SESSION['doc_id'].'\',\''.$objectTable.'\',\'attachmentVersion\',\'attachment\');$(\'add\').value=\'Edition en cours ...\';editingDoc(this,\''.$_SESSION['user']['UserId'].'\');$(\'add\').disabled=\'disabled\';$(\'add\').style.opacity=\'0.5\';this.hide();$j(\'#\'+this.id).parent().find(\'[name=templateOffice\\\\[\\\\]]\').css(\'width\',\'206px\');"/>';
.'onclick="if($(\'selectContactIdRes\')){$(\'selectContactIdRes\').disabled=\'disabled\'};showAppletLauncher(this, \''.$_SESSION['doc_id'].'\',\''.$objectTable.'\',\'attachmentVersion\',\'attachment\');$(\'add\').value=\'Edition en cours ...\';editingDoc(this,\''.$_SESSION['user']['UserId'].'\');$(\'add\').disabled=\'disabled\';$(\'add\').style.opacity=\'0.5\';this.hide();$j(\'#\'+this.id).parent().find(\'[name=templateOffice\\\\[\\\\]]\').css(\'width\',\'206px\');"/>';
$content .= '<iframe style="display:none; width:210px" name="choose_file" id="choose_file" frameborder="0" scrolling="no" height="25" src="'.$_SESSION['config']['businessappurl']
.'index.php?display=true&module=attachments&page=choose_attachment"></iframe>';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment