From: hickert Date: Tue, 4 Dec 2007 14:04:39 +0000 (+0000) Subject: Udpated msg dialog. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=fc31972d732c350fab221255868a9e5ab22e8179;p=gosa.git Udpated msg dialog. - We have to drag the dialogs by clicking the title now. This makes it easier to copy&paste text from the dialogs git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8001 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/html/include/focus.js b/html/include/focus.js index 83d8ac49d..129e61625 100644 --- a/html/include/focus.js +++ b/html/include/focus.js @@ -491,11 +491,12 @@ function next_msg_dialog() tmp = tmp.replace(/,$/g,""); if(i_id != ""){ ele = document.getElementById('e_layer' + i_id); + ele3 = document.getElementById('e_layerTitle' + i_id); ele.style.display= 'block' ; document.getElementById('pending_msg_dialogs').value= tmp; document.getElementById('current_msg_dialogs').value= i_id; ele2 = document.getElementById('e_layer2') ; - ele.onmousedown = start_move_div_by_cursor; + ele3.onmousedown = start_move_div_by_cursor; ele2.onmouseup = stop_move_div_by_cursor; ele2.onmousemove = move_div_by_cursor; }else{ diff --git a/ihtml/themes/default/msg_dialog.tpl b/ihtml/themes/default/msg_dialog.tpl index 9d7fb391b..fafbed4bb 100644 --- a/ihtml/themes/default/msg_dialog.tpl +++ b/ihtml/themes/default/msg_dialog.tpl @@ -54,10 +54,20 @@ left:200px; top:200px; background-color:white; - padding:5px; border:5px solid red; z-index:150; position:absolute;'> +
+   {$s_Title} +
+
@@ -70,7 +80,6 @@ {/if} -

{$s_Title}

{$s_Message}

@@ -104,11 +113,23 @@ left:200px; top:200px; background-color:white; - padding:5px; border:5px solid red; z-index:150; display:none; position:absolute;'> + +
+   {$s_Title} +
+
+
@@ -121,7 +142,6 @@ {/if} -

{$s_Title}

{$s_Message}