[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[6863] trunk/UI



Revision: 6863
          http://sourceforge.net/p/ledger-smb/code/6863
Author:   einhverfr
Date:     2014-02-17 04:58:42 +0000 (Mon, 17 Feb 2014)
Log Message:
-----------
Tentative framework for fixing textareas which escape SGML entities.

Modified Paths:
--------------
    trunk/UI/lib/Loader.js
    trunk/UI/templates/edit.html

Modified: trunk/UI/lib/Loader.js
===================================================================
--- trunk/UI/lib/Loader.js	2014-02-17 01:45:03 UTC (rev 6862)
+++ trunk/UI/lib/Loader.js	2014-02-17 04:58:42 UTC (rev 6863)
@@ -64,7 +64,9 @@
                                             "title": input.title, 
                                              "cols": input.cols,
                                              "rows": input.rows}, input);
-                                   }
+                                   },
+                      // skip editors for now --CT
+                      'editor': function(input) { return true }, 
                     },
              INPUT: {   'hidden': function(){ return undefined},
                           'date': function(input){

Modified: trunk/UI/templates/edit.html
===================================================================
--- trunk/UI/templates/edit.html	2014-02-17 01:45:03 UTC (rev 6862)
+++ trunk/UI/templates/edit.html	2014-02-17 04:58:42 UTC (rev 6863)
@@ -5,7 +5,7 @@
  IF language_code; "($language_code)"; ELSE; "(" _ text("No language") _ ")";
  END; ?></div>
 <form action="template.pl" method="post">
-<textarea class="template-body <?lsmb format ?>" 
+<textarea class="template-body <?lsmb format ?> editor" 
     cols=80 name="template"><?lsmb UNESCAPE(content) ?></textarea><br/>
 <?lsmb 
 PROCESS input element_data = {

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits