[Koha-bugs] [Bug 11905] when editing item, cursor is positioning in search box and not to item

2015-06-18 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11905

Jonathan Druart  changed:

   What|Removed |Added

   See Also||http://bugs.koha-community.
   ||org/bugzilla3/show_bug.cgi?
   ||id=14409

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 11905] when editing item, cursor is positioning in search box and not to item

2014-07-30 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11905

Tomás Cohen Arazi  changed:

   What|Removed |Added

 Status|Passed QA   |Pushed to Master
 CC||tomasco...@gmail.com

--- Comment #15 from Tomás Cohen Arazi  ---
Patch pushed to master.

Thanks Nick!

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

[Koha-bugs] [Bug 11905] when editing item, cursor is positioning in search box and not to item

2014-06-13 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11905

Jonathan Druart  changed:

   What|Removed |Added

 Status|Needs Signoff   |Signed Off

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 11905] when editing item, cursor is positioning in search box and not to item

2014-06-13 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11905

Jonathan Druart  changed:

   What|Removed |Added

 Status|Signed Off  |Passed QA

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 11905] when editing item, cursor is positioning in search box and not to item

2014-06-13 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11905

--- Comment #14 from Jonathan Druart  ---
Created attachment 28839
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=28839&action=edit
Bug 11905 - when editing item, cursor is positioning in search box and not to
item

cataloging-search.inc had embedded js to set focus into the search box.
This patch removes that js from the cataloging-search.inc and adds it into
addbooks.tt and merge.tt to set focus on those pages and allow focus to be set
to the edit items form on additem.tt

Signed-off-by: Paola Rossi 

Signed-off-by: Jonathan Druart 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 11905] when editing item, cursor is positioning in search box and not to item

2014-06-13 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11905

Jonathan Druart  changed:

   What|Removed |Added

  Attachment #28837|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 11905] when editing item, cursor is positioning in search box and not to item

2014-06-13 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11905

Paola Rossi  changed:

   What|Removed |Added

  Attachment #28717|0   |1
is obsolete||

--- Comment #13 from Paola Rossi  ---
Created attachment 28837
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=28837&action=edit
Bug 11905 Patch to remove js from cataloging-search and add to individual tt
files

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 11905] when editing item, cursor is positioning in search box and not to item

2014-06-13 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11905

Paola Rossi  changed:

   What|Removed |Added

 CC||paola.ro...@cineca.it

--- Comment #12 from Paola Rossi  ---
I've applied against master 3.17.00.007

Everything's OK.

So I pass the patch to "Signed Off" status.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 11905] when editing item, cursor is positioning in search box and not to item

2014-06-07 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11905

Nick Clemens  changed:

   What|Removed |Added

  Attachment #25914|0   |1
is obsolete||
  Attachment #28666|0   |1
is obsolete||
  Attachment #28668|0   |1
is obsolete||

--- Comment #11 from Nick Clemens  ---
Created attachment 28717
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=28717&action=edit
Patch to remove js from cataloging-search and add to individual tt files

This patch removes js that sets focus to the cataloging search from the
cataloging-search.inc to allow focus on additems.pl to be set to the add items
form.

The js is added into merge.tt and addbooks.tt to keep focus on the cataloging
search there.

Test plan:
1.  Apply patch
2.  Go to the edit items screen for any record and verify that focus is not set
to the cataloging search
3.  Add two items to a list and merge them, verify focus is set to cataloging
search box
4.  Go to Cataloging and verify that focus is set to cataloging search box

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 11905] when editing item, cursor is positioning in search box and not to item

2014-06-07 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11905

Nick Clemens  changed:

   What|Removed |Added

 Status|Failed QA   |Needs Signoff

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 11905] when editing item, cursor is positioning in search box and not to item

2014-06-07 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11905

--- Comment #10 from Nick Clemens  ---
Agreed, I thought about adding to the others when I removed it, it doesn't hurt
on merge.tt as there is no other place for focus so adding the js into both.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 11905] when editing item, cursor is positioning in search box and not to item

2014-06-06 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11905

Jonathan Druart  changed:

   What|Removed |Added

 Status|Signed Off  |Failed QA
 CC||jonathan.dru...@biblibre.co
   ||m

--- Comment #9 from Jonathan Druart  ---
The include file cataloging-search.inc is used in 3 templates. I am not sure
this is the good way to do.
Maybe should you move the js code from the include file to the 2 other tt files
(not sure it is useful for merge.tt).

Marked as Failed QA.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 11905] when editing item, cursor is positioning in search box and not to item

2014-06-04 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11905

--- Comment #8 from Juhani Seppälä  ---
Created attachment 28668
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=28668&action=edit
[SIGNED-OFF] Bug 11905 - when editing item, cursor is positioning in search box
and not to item

The cataloging-search.inc had js which set focus to the cataloging search box. 
I believe the focus should be determined by the page template and not always to
this search.  I simply removed the js.

Signed-off-by: Juhani Seppälä 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

[Koha-bugs] [Bug 11905] when editing item, cursor is positioning in search box and not to item

2014-06-04 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11905

--- Comment #7 from sandbo...@biblibre.com  ---
Created attachment 28666
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=28666&action=edit
Bug 11905 - when editing item, cursor is positioning in search box and not to
item

The cataloging-search.inc had js which set focus to the cataloging search box. 
I believe the focus should be determined by the page template and not always to
this search.  I simply removed the js.

Signed-off-by: Christopher Brannon 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 11905] when editing item, cursor is positioning in search box and not to item

2014-06-04 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11905

sandbo...@biblibre.com  changed:

   What|Removed |Added

  Attachment #28166|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 11905] when editing item, cursor is positioning in search box and not to item

2014-06-04 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11905

sandbo...@biblibre.com  changed:

   What|Removed |Added

 Status|Needs Signoff   |Signed Off
 CC||sandbo...@biblibre.com

--- Comment #6 from sandbo...@biblibre.com  ---
Patch tested with a sandbox, by Christopher Brannon 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 11905] when editing item, cursor is positioning in search box and not to item

2014-05-16 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11905

Nick Clemens  changed:

   What|Removed |Added

Version|3.12|master

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 11905] when editing item, cursor is positioning in search box and not to item

2014-05-10 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11905

Nick Clemens  changed:

   What|Removed |Added

 Status|NEW |Needs Signoff
   Assignee|gmcha...@gmail.com  |n...@quecheelibrary.org

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 11905] when editing item, cursor is positioning in search box and not to item

2014-05-10 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11905

--- Comment #5 from Nick Clemens  ---
more description: 

Currently the cataloging-search.inc has js that takes focus on any page it is
added to.  I think that focus should be in the individual templates for each
page rather than in the search for all.

Above patch attempts to resolve this issue by removing the focus js from
cataloging-search.inc

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 11905] when editing item, cursor is positioning in search box and not to item

2014-05-10 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11905

--- Comment #4 from Nick Clemens  ---
Created attachment 28166
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=28166&action=edit
Patch to remove js from cataloging-search

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 11905] when editing item, cursor is positioning in search box and not to item

2014-04-22 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11905

--- Comment #3 from Nick Clemens  ---
(In reply to Marjorie Barry-Vila from comment #2)
> (In reply to Nick Clemens from comment #1)
> 
> Thanks Nick for explanation.
> Do you know a script js to remove focus?
> 
> Marjorie

>From what I see the intranetusersjs loads before the script on the page, so you
have to execute on window load to be able to steal focus.  Below should work

$(window).load(function (){
$('[id^="tag_952_subfield_0_"]').focus();
});


I think the bigger issue though is that cataloging-search.inc is set to take
focus on every page where present.

The link created when you click to edit an item has an anchor at the end and I
am guessing the intention was, at one point, to set the focus to the edititem
id once an item was being edited.  I do think that is the more useful
fonctionality

Bug 11325 seems to be centered around the same issue with focus on the search
box.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 11905] when editing item, cursor is positioning in search box and not to item

2014-04-22 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11905

--- Comment #2 from Marjorie Barry-Vila  ---
(In reply to Nick Clemens from comment #1)
> I am seeing the same thing in 3.12 and 3.14.
> 
> I think the script on the page is the issue, setting the focus in search and
> overriding the anchor, with JS disabled the page loads as expected.
> 
> This bit seems to be it:
> 
> $(document).ready(function(){
>   $("input[name=q]:eq(0)").focus();
> });

Thanks Nick for explanation.
Do you know a script js to remove focus?

Marjorie

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 11905] when editing item, cursor is positioning in search box and not to item

2014-04-12 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11905

Nick Clemens  changed:

   What|Removed |Added

 CC||n...@quecheelibrary.org

--- Comment #1 from Nick Clemens  ---
I am seeing the same thing in 3.12 and 3.14.

I think the script on the page is the issue, setting the focus in search and
overriding the anchor, with JS disabled the page loads as expected.

This bit seems to be it:

$(document).ready(function(){
$("input[name=q]:eq(0)").focus();
});

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/