Giter VIP home page Giter VIP logo

Comments (5)

elo80ka avatar elo80ka commented on July 3, 2024

From stan.madueke on February 08, 2011 21:07:12

Status: Accepted
Owner: stan.madueke

from django-dynamic-formset.

elo80ka avatar elo80ka commented on July 3, 2024

From [email protected] on February 13, 2011 11:12:03

I think I may of fixed this issue. I grab the latest copy of your java script. I also re-wrote my form template and removed a call back function I was doing when a new row was added. Since then I have not been able to re-produce the issue.

from django-dynamic-formset.

elo80ka avatar elo80ka commented on July 3, 2024

From stan.madueke on February 14, 2011 05:52:02

Yay! That's good news. D'you mind posting the details of your callback method? It'd be nice to know for sure, before I close this.

from django-dynamic-formset.

elo80ka avatar elo80ka commented on July 3, 2024

From [email protected] on February 14, 2011 06:17:40

This is what I was using

 <script type="text/javascript">
     $(function() {
         $('tbody tr').formset({
             prefix: '{{ formset.prefix }}',
             added: function(row){
                 var aisle = row.find('td.aisle input');
                 aisle.val('other');

             },
             extraClasses: ['row1', 'row2']
         });
     })


 </script>

I am not 100% sure I was using version 1.2 of your library. Both version 1.1 and 1.2 have this in the source code at the top

  • jQuery Formset 1.1
  • @author Stanislaus Madueke (stan DOT madueke AT gmail DOT com)
  • @requires jQuery 1.2.6 or later

So I updated the library to be on the safe side.

from django-dynamic-formset.

elo80ka avatar elo80ka commented on July 3, 2024

From stan.madueke on February 14, 2011 06:41:52

That seems benign...don't see how that'd cause anything to stop working. I guess the wrong version number in the code is the real bug here :) I'll go ahead and close this then. Thanks!

Status: Fixed

from django-dynamic-formset.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.