** Project changed: openclipart => aikiframework

** Changed in: aikiframework
    Milestone: 3.1 => None

** Changed in: aikiframework
       Status: Won't Fix => Confirmed

-- 
You received this bug notification because you are a member of Aiki
Framework Admins, which is subscribed to aikiframework.
https://bugs.launchpad.net/bugs/734393

Title:
  can't use ctrl+right arrow when focus in sql input filed inside admin
  panel

Status in Aiki Framework:
  Confirmed

Bug description:
  When you have focus in sql input filed and move cursor with control
  key (CTRL+RIGHT_ARROW) the right panel  below is collapsing/expanding.
  It should move the cursor one word  to the right.

  Possible solution: I guess that this is the problem with plugin widget
  (I'm not familiar with the code):

  $('sql_query').focus(function() {
       // disable this widget/plugin
  }).blur(function() {
     // enable this widget/plugin
  });

  if there is no way to modify this plugin then this may fix this:

  var sql_query =  $('sql_query').focus(function() {
              focus = true;
    }).blur(function() {
              focus = false;
    });

  And this must be called before initiating the plugin, so when focus is
  in sql input filed it will prevent events to  bubble. if this plugin
  use keydown instead of keypress maybe it will be necessary to use the
  same event for body.

  $('body').keypress(function(e) {
          if (focus) {
              sql_query.keypress();
              return false;
          }
      });

To manage notifications about this bug go to:
https://bugs.launchpad.net/aikiframework/+bug/734393/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~aikiframework.admins
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~aikiframework.admins
More help   : https://help.launchpad.net/ListHelp

Reply via email to