Look at the code:
var clientContext = SP.ClientContext.get_current(); var list = clientContext.get_web().get_lists().getByTitle(context.ListTitle);
After doing a forage in the internet, I remember the terrible reality suddenly. I forgot initializing the object SP.ClientContext in the sp.js! Wow hooooo....That code was changed:
SP.SOD.executeFunc('sp.js', 'SP.ClientContext', function () { var clientContext = SP.ClientContext.get_current(); var list = clientContext.get_web().get_lists().getByTitle(context.ListTitle); ..... });
Done!
Everything is resolved!