mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 17:33:49 +01:00
Refinements to timestamp button
- Better icon & more specific hover text - Now goes to start if you forget to place cursor - Style encrypt button to match
This commit is contained in:
parent
decf8efa34
commit
fae06bcbe5
@ -710,10 +710,6 @@ app.classes.infolog = AppJS.extend(
|
||||
{
|
||||
pos = input.selectionStart
|
||||
};
|
||||
if(pos === 0 && input.value.length > 0)
|
||||
{
|
||||
pos = input.value.length;
|
||||
}
|
||||
|
||||
// Insert the text
|
||||
var front = (input.value).substring(0, pos);
|
||||
|
@ -215,8 +215,8 @@
|
||||
</row>
|
||||
<row class="et2_toolbar">
|
||||
<description id="spacer" span="6"/>
|
||||
<buttononly statustext="Insert timestamp" id="timestamp" class="infologTimestamp" background_image="1" image="timestamp" onclick="app.infolog.insert_text('info_des');"/>
|
||||
<buttononly label="Encrypt" id="encrypt" class="infologEncrypt" background_image="1" image="lock" onclick="app.infolog.toggleEncrypt"/>
|
||||
<buttononly statustext="Insert timestamp into description field" id="timestamp" class="infologTimestamp" background_image="1" image="timestamp" onclick="app.infolog.insert_text('info_des');"/>
|
||||
<buttononly statustext="Encrypt description" id="encrypt" class="infologEncrypt" background_image="1" image="lock" onclick="app.infolog.toggleEncrypt"/>
|
||||
</row>
|
||||
<row>
|
||||
<tabbox id="tabs" class="et2_nowrap" span="all" width="100%" tab_height="250px">
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 3.0 KiB |
Loading…
Reference in New Issue
Block a user