|
|
@ -85,8 +85,9 @@ $(document).ready(function() { |
|
|
|
|| $(tr).find('.chzn-select').val() != null)) |
|
|
|
|| $(tr).find('.chzn-select').val() != null)) |
|
|
|
{ |
|
|
|
{ |
|
|
|
if ($(tr).find('.google').length == 0) { |
|
|
|
if ($(tr).find('.google').length == 0) { |
|
|
|
$(config).append($('<a/>').addClass('button google') |
|
|
|
$(config).append($(document.createElement('input')).addClass('button google') |
|
|
|
.text(t('files_external', 'Grant access'))); |
|
|
|
.attr('type', 'button') |
|
|
|
|
|
|
|
.attr('value', t('files_external', 'Grant access'))); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
$(tr).find('.google').show(); |
|
|
|
$(tr).find('.google').show(); |
|
|
|
} |
|
|
|
} |
|
|
|