mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Merging the Limesurvey 1.91+ branch of queXS in to the trunk
This commit is contained in:
10
include/limesurvey/admin/scripts/printablesurvey.js
Normal file
10
include/limesurvey/admin/scripts/printablesurvey.js
Normal file
@@ -0,0 +1,10 @@
|
||||
// $Id: printablesurvey.js 8633 2010-04-25 12:57:33Z c_schmitz $
|
||||
|
||||
$(document).ready(function(){
|
||||
$('[class^=max]').each(function(){
|
||||
var arrayOfClasses = $(this).attr('class').split(' ');
|
||||
charcount=arrayOfClasses[0].substr(10);
|
||||
$(this).find('div.input-text').width(charcount*2+'em');
|
||||
}
|
||||
)
|
||||
});
|
||||
Reference in New Issue
Block a user