apply changes for Pylons 0.10
This commit is contained in:
parent
47ecf9b4ea
commit
41a5e3e6f1
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue