mirror of
https://github.com/e107inc/e107.git
synced 2025-10-12 13:34:39 +02:00
date convert: added generic string to timestamp converter (toTime()); admin UI: textareas autoexpand now available sitewide (back-end), multi table JOIN support, field (db table) aliases support, user auto-complete search should work fine now, example usage added on faqs administration
This commit is contained in:
@@ -8,8 +8,8 @@
|
||||
* e107 Admin Helper
|
||||
*
|
||||
* $Source: /cvs_backup/e107_0.8/e107_files/jslib/core/admin.js,v $
|
||||
* $Revision: 1.22 $
|
||||
* $Date: 2009-11-09 16:55:41 $
|
||||
* $Revision: 1.23 $
|
||||
* $Date: 2009-11-10 19:13:07 $
|
||||
* $Author: secretr $
|
||||
*
|
||||
*/
|
||||
@@ -63,6 +63,14 @@ e107Admin.Helper = {
|
||||
var msg = el.readAttribute('delmsg') || e107.getModLan('delete_confirm');
|
||||
if( !e107Helper.confirm(msg) ) e.stop();
|
||||
});
|
||||
|
||||
element.select('textarea.e-autoheight').each( function (textarea) {
|
||||
var options = {}, autoopt = '__' + textarea.name + 'autoheight_opt', autooptel = textarea.next('input[name=' + autoopt + ']');
|
||||
if(autooptel) {
|
||||
options['max_length'] = parseInt(autooptel.value);
|
||||
}
|
||||
new e107Admin.Nicearea(textarea, options);
|
||||
});
|
||||
},
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user