Issue Type: Improvement Improvement
Assignee: Unassigned
Components: Reference Client App
Created: 09/May/13 12:49 AM
Description:

Yanna recently made a pull request for adding JQuery UI Tooltips https://github.com/openMF/mifosx-community-apps/pull/153/files (only available in the 1.8.* version of JQuery UI)

The JQueryUI upgrade breaks the Client View

>> Copy Pasting github comment

The JQuery upgrade is causing a few issues though (Navigate to a client with a couple of loans-> Click on a loan -> Now all tabs appear buggy (Try navigation between a couple of tabs)

This is most probably because of some JQuery version specific scripting we had done for opening new tabs (opening an existing tab based on ID etc).

I suspect this code snippet in IndividualLendingCode-0.12.0.beta.js is the Culprit

function showLoan(loanId, product, loanAccountNo, parenttab){
.
.
.
//else create new tab and set identifier properties
else{
var title = product + ": #" + loanAccountNo;
if (undefined === loanAccountNo)

{ title = product + ": #" + loanId; }

$newtabs.tabs( "add", "unknown.html", title);
loadLoan(loanId, parenttab);
//add ids and titles to newly added div's and a'hrefs
var lastAHref=$('#'+ parenttab +'> ul > li:last > a');
var lastDiv=$('#'+ parenttab +' > div:last')
var lastButOneDiv=$('#'+ parenttab +' > div:last').prev();
lastAHref.attr('href','#loan'loanId'tab');
lastButOneDiv.attr('id',newLoanTabId);
//the add functionality seems to be adding a dummy div at the end
//am deleting the same to make div manipulation easier
lastDiv.remove();
}

Identity and fix these issues (It would be really nice to have those pretty tooltips)

Project: Mifos X
Labels: introductory volunteer
Priority: Minor Minor
Reporter: Vishwas Babu A J
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to