Merge pull request #4141 from Ccomp5950/pda_nano_notes

PDA Nano-UI Fix.
This commit is contained in:
Zuhayr
2013-12-28 05:57:11 -08:00
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -619,8 +619,9 @@ var/global/list/obj/item/device/pda/PDAs = list()
if (in_range(src, U) && loc == U)
n = copytext(adminscrub(n), 1, MAX_MESSAGE_LEN)
if (mode == 1)
note = replacetext(n, "\n", "<BR>")
notehtml = n
note = html_decode(n)
notehtml = note
note = replacetext(note, "\n", "<br>")
else
ui.close()
if("Toggle Messenger")
+1 -1
View File
@@ -165,7 +165,7 @@ Used In File(s): \code\game\objects\items\devices\PDA\PDA.dm
<b>Notes</b>:
</div>
</div>
<div class="statusDisplay" style="height: 225px; overflow: auto;">
<div class="statusDisplayRecords" style="height: 225px">
<div class="item">
<div class="itemContent" style="width: 100%;">
<span class="average">{^{:note}}</span>