diff --git a/ieducar/modules/Cadastro/Assets/Javascripts/Aluno.js b/ieducar/modules/Cadastro/Assets/Javascripts/Aluno.js index 5b77485..4d02093 100644 --- a/ieducar/modules/Cadastro/Assets/Javascripts/Aluno.js +++ b/ieducar/modules/Cadastro/Assets/Javascripts/Aluno.js @@ -227,28 +227,12 @@ function afterChangePessoa(targetWindow, pessoaId) { $j('#tipo_responsavel').change(checkTipoResponsavel); - // back to old version - - var backToOldVersion = function() { - var $this = $j(this); - var url = '/intranet/educar_aluno_cad.php'; - - if(resource.id()) - url += '?cod_aluno=' + resource.id(); - - $this.attr('href', url); - } + var msg = 'Bem vindo ao novo cadastro de alunos,
' + + 'Duvidas? Entre em contato com o suporte.'; $j('

').addClass('back-to-old-version right-top-notice notice') - .html(stringUtils.toUtf8('Você está acessando o novo cadastro de alunos,
')) + .html(stringUtils.toUtf8(msg)) .appendTo($j('#id').closest('td')); - $j('').attr('href', '#') - .attr('target', '_blank') - .click(backToOldVersion) - .addClass('decorated') - .html(stringUtils.toUtf8('acessar versão antiga.')) - .appendTo($j('.back-to-old-version')); - }); // ready })(jQuery); \ No newline at end of file diff --git a/ieducar/modules/Portabilis/Assets/Version.php b/ieducar/modules/Portabilis/Assets/Version.php index fa22138..74b66f1 100644 --- a/ieducar/modules/Portabilis/Assets/Version.php +++ b/ieducar/modules/Portabilis/Assets/Version.php @@ -4,7 +4,7 @@ usado pelo metodos loadJavascript e loadStylesheet do helper Portabilis_View_Helper_Application */ class Portabilis_Assets_Version { - const VERSION = "0_0_0_1005"; + const VERSION = "0_0_0_1006"; } ?> -- libgit2 0.21.2