Navigate Up
Sign In
Home > Blog > Posts > Text selection disabled w/ Kwizcom Calendar Plus
 

 Posts

 
January 26
Text selection disabled w/ Kwizcom Calendar Plus

Problem
After installing Kwizcom Calendar 3.2.90, text selection is disabled on your sharepoint site on pages that have the calendar webpart. This was a huge issue for us since we had the minicalendar in the page header.

Workaround
Modify one of the Kwizcom javascript files (“12\TEMPLATE\LAYOUTS\KWizCom_KSCP\KSCP.js”) to comment out the drag drop functionality (See lines 13, 21 & 22) -

   1:  function kwiz_cal_DragDropOnLoad(q)
   2:  {
   3:      g_WPQ = q;
   4:   
   5:      // attach onscroll event (needed for recalculating table cells positions)
   6:      window.onscroll = kwiz_cal_Scroll;
   7:      
   8:      if(browseris.ie || browseris.safari)
   9:      {
  10:          kwiz_cal_Calculate_Cells();
  11:          
  12:          // disable text selection for ie, safari
  13:          //document.onselectstart = function(event) {return false};
  14:      }
  15:      else
  16:      {
  17:          // firefox does not execute this function when assigning to onscroll event, but IE & Chrome do
  18:          kwiz_cal_Scroll(); 
  19:          
  20:          // disable text selection for firefox
  21:          //if (typeof document.body.style.MozUserSelect != "undefined") 
  22:          //    document.body.style.MozUserSelect = "none";
  23:      }
  24:  }

More Info

The official word from Kwizcom Support on this issue is as follows:

“The issue is caused by dragdrop functionality. The new release version 3.3.00 will allow the users to disable drag drop through settings.  Currently there is no exact timeline for release.”

Comments

There are no comments for this post.

All Rights Reserved, © 2010 Portal Solutions, LLC