apply changes for Pylons 0.10

This commit is contained in:
Jan Dittberner 2010-06-12 00:29:50 +02:00
parent 47ecf9b4ea
commit 41a5e3e6f1
2 changed files with 2 additions and 2 deletions

View file

@ -27,7 +27,7 @@ available to Controllers. This module is available to templates as 'h'.
""" """
from webhelpers.html.builder import escape, literal from webhelpers.html.builder import escape, literal
from webhelpers.html.tags import stylesheet_link, javascript_link, image, \ from webhelpers.html.tags import stylesheet_link, javascript_link, image, \
form, text, radio, submit, end_form, link_to form, text, radio, submit, end_form, link_to, checkbox
from webhelpers.text import truncate from webhelpers.text import truncate
from webhelpers.textile import textile from webhelpers.textile import textile
from pylons import url from pylons import url

View file

@ -98,7 +98,7 @@ function onChangeShowAll(event) {
function onBlurEmail() { function onBlurEmail() {
if ($.trim($('#email').attr('value')).length > 0) { if ($.trim($('#email').attr('value')).length > 0) {
$.ajax({ $.ajax({
'url' : '${h.url_for(action='fetchdddata')}', 'url' : '${h.url(controller="showformscripts", action="fetchdddata")}',
'data' : {'email' : $('#email').attr('value')}, 'data' : {'email' : $('#email').attr('value')},
'dataType' : 'json', 'dataType' : 'json',
'success' : updateFields, 'success' : updateFields,