Changeset fa9edc3 in github


Ignore:
Timestamp:
Nov 16, 2011 5:50:36 AM (19 months ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.8
Children:
307e684
Parents:
91e589a
Message:
  • Don't add PRE tags when switching to html mode and textarea is empty
File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/js/app.js

    r46cdbf0 rfa9edc3  
    57395739  { 
    57405740    var lock = this.set_busy(true, 'converting'); 
    5741     $(document.getElementById(id)).val('<pre>'+plainText+'</pre>'); 
     5741    $(document.getElementById(id)).val(plainText ? '<pre>'+plainText+'</pre>' : ''); 
    57425742    this.set_busy(false, null, lock); 
    57435743  }; 
Note: See TracChangeset for help on using the changeset viewer.