Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8612867
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T04:43:58+00:00 2026-06-12T04:43:58+00:00

When I click on an item I can edit the field thanks to bootstrap-editable

  • 0

When I click on an item I can edit the field thanks to bootstrap-editable.
When I drag and drop the item I am able to change the position of the item thanks to jquery.ui.sortable.

Using Google Chrome everything works fine.
By using Firefox 15.0.1 I have the following issue.

After I move the item, it appears the popup to edit the field.
I suppose this event is due to the event propagation.
I tried to fix it but with no success…

Here is my piece code:

    onSortReceive: function (e, ui) {
        this.$(ui.item[0]).trigger('drop', this.options.taskType);
        // TODO just on firefox there is a issue related to bootstrap-editable
        // it shows the popup even if there is e.stopPropagation() here
        // the only way to fix this issue is to re-render the view
        e.stopPropagation(); // it makes no difference 
        this.render(); // it fix the problem 
                       // but I want to avoid to re-render the view
    },

For the full code you can go on:
https://github.com/antonioJs/CoCoTask/pull/21/files

For the working version you can go on:
http://computerone.altervista.org/CoCoTask/ (the problem is just with firefox)

Any idea how to fix the problem?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T04:43:59+00:00Added an answer on June 12, 2026 at 4:43 am

    Okay, here is one working way i found. In your taskItem.js replace onRender with following code:

        onRender: function () {
            var sortInAction = false;
            this.$el.find('label').mouseup(function(e) {
              sortInAction = 'absolute' === $(e.target).closest('li').css('position');
            }).click(function(e) {
                if (sortInAction)
                  e.stopImmediatePropagation();
            }).editable({
                type: 'textarea',
                name: 'task-name',
                validate: this.editTaskName,
                template: '<textarea rows="3"></textarea>'
            });
        },
    

    Hope it helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a JList, and a JButton, user can click an item in the
The Situation In Sharepoint 2010 I can click on an item in a list:
How can I add click event to newly added item of menu? Below is
How can you add a click event to dynamically created menu item? I thought
How can I disable the click sound when a listview item is tapped ?
I have the following link. On click, I'd like to check the item.primary_company field
Sometimes users require to change information in SharePoint list item that is not editable
I am displaying a list. The user can edit any item. I am displaying
Trying to click an item in a dynamically-generated list, but the $.click() function just
I am calling the following on ToolStripMenu item click : protected void windowNewMenu_Click(object sender,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.