Skip to content

Commit

Permalink
Merge branch '2.1' of github.com:LimeSurvey/LimeSurvey into 2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
SamMousa committed Mar 11, 2013
2 parents 091d59a + 1927710 commit baf6614
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/admin/attributeMap.js
Expand Up @@ -14,6 +14,12 @@ $(document).ready(function(){
$('#tokenattribute').css({'height' : height-200});
$('#centralattribute').css({'height' : height-200});
$('#newcreated').css({'height' : height-200});
var ncHeadingHeight = $('#newcreated .heading').outerHeight();
$('.newcreate').css({
'padding-bottom':0,
'min-height':$('#newcreated').height()-ncHeadingHeight-5
});

$("#overwrite").click(function(){
if($("#overwrite").is(':checked')) {attoverwrite=true;} else {attoverwrite=false;}
});
Expand Down
10 changes: 10 additions & 0 deletions scripts/admin/attributeMapToken.js
Expand Up @@ -13,6 +13,16 @@ $(document).ready(function(){
$('#tokenattribute').css({ 'height' : height-200});
$('#centralattribute').css({ 'height' : height-200});
$('#newcreated').css({ 'height' : height-200});
var ncHeadingHeight = $('#newcreated .heading').outerHeight();
$('.newcreate').css({
'padding-bottom':0,
'min-height':$('#newcreated').height()-ncHeadingHeight-5
});
var taHeadingHeight = $('#tokenattribute .heading').outerHeight();
$('#tokenatt').css({
'min-height':$('#tokenattribute').height()-taHeadingHeight-5
});

$("#tokenatt").sortable({ connectWith:'.centralatt,.newcreate',helper: 'clone',appendTo: 'body'});
$("ul.centralatt").sortable({
helper: 'clone',
Expand Down

0 comments on commit baf6614

Please sign in to comment.