Comments (8)
I asked the original submitter about it and he didn't get back to me. sorry
also for the delay on my end. your
patch is gratefully accepted and committed now.
Original comment by [email protected]
on 4 Jul 2009 at 7:44
- Changed state: Fixed
from django-ajax-selects.
No, you are mistaken about:
bq. removing the mysterious filter on the id {{html_id|cut:"-" }}
autocomplete.html
was submitted by somebody else and I think that was a project specific thing for
him.
This is very important thing especially for admin part, where several id for
input
fields can be with "-" symbol, for example inside inline forms. In this case
anyone
will get js error: "missing ( before formal parameters". I think this filter
(cut:"-") must be in all templates, as I did in my patch.
Original comment by [email protected]
on 4 Jul 2009 at 11:17
from django-ajax-selects.
I'm sorry, I didn't look through this and understand the original issue
completely. You are correct. Fix now
committed for all 3 templates. thank you !
Original comment by [email protected]
on 5 Jul 2009 at 11:01
from django-ajax-selects.
No, I think you are mistaken again.
You don't need to apply this filter to every {{ html_id }}, especially inside
<input
id="">. You need to do this only for javascript function's names.
It will be better if you merge my patch with 10 revision (if i'm not mistaken
about
number). It is simpliest and safe method
Original comment by [email protected]
on 6 Jul 2009 at 8:51
from django-ajax-selects.
correct number - 9 revision
Original comment by [email protected]
on 6 Jul 2009 at 9:17
from django-ajax-selects.
ok, check it now please.
Original comment by [email protected]
on 6 Jul 2009 at 9:52
from django-ajax-selects.
Thanks! Everythings is ok!
Original comment by [email protected]
on 6 Jul 2009 at 1:55
from django-ajax-selects.
ah but, thank you ramu... !
Original comment by [email protected]
on 6 Jul 2009 at 2:23
- Changed state: Verified
from django-ajax-selects.
Related Issues (20)
- Selected fields not saved on form submission from the frontend (admin works fine) HOT 14
- Unclear documentation for Add Object popup and link HOT 2
- Channel customisation to hide input on select HOT 1
- Unable to use values() in get_query method HOT 6
- JavaScript needs to be quoted HOT 7
- Initial value causes error. HOT 2
- Empty help string will display gettext header HOT 5
- Caught ValueError while rendering: invalid literal for int() with base 10: HOT 2
- Retain text in the input box HOT 5
- Show form field without a fk HOT 3
- Trigger only after 'n' characters HOT 1
- The ajax_lookup view should return a 'text/plain' Content-Type HOT 3
- Invalid markup HOT 3
- Doc suggestion: add a class Meta on ContactMailingForm HOT 1
- [patch] Field with name 'media' clashes with ModelForm.media
- JS incorrectly calculating the locations.. HOT 2
- Incorrect location of static files HOT 5
- make_ajax_field method overlooks initial value HOT 2
- {{ field.contents }}should render the display version of a field HOT 1
- tag the git source code HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-ajax-selects.