Author: sevein
Date: Wed Oct 14 17:30:52 2009
New Revision: 3744
Log:
Remove unused code.
Modified:
trunk/web/js/multiInstanceInput.js
Modified: trunk/web/js/multiInstanceInput.js
==============================================================================
--- trunk/web/js/multiInstanceInput.js Wed Oct 14 16:53:26 2009 (r3743)
+++ trunk/web/js/multiInstanceInput.js Wed Oct 14 17:30:52 2009 (r3744)
@@ -158,39 +158,3 @@
});
}
};
-
-// Temporary function to make possible to add multiple creators
-function addIsadCreator(sender)
-{
- var table = $(sender).parents('table').eq(0);
- var rows = table.find('tbody tr');
- var newRow = rows.eq(0).clone();
-
- newRow.find('input')
- .val('')
- .attr('id', 'addCreator_' + (rows.length) + '_newName')
- .attr('name', 'addCreator[' + (rows.length) + '][newName]');
-
- newRow.find('select').
- attr('id', 'addCreator_' + (rows.length) + '_actorId').
- attr('name', 'addCreator[' + (rows.length) + '][actorId]');
-
- newRow.find('div').hide();
- table.find('tbody').append(newRow).find('tr:last div').show('normal');
-}
-
-function delIsadCreator(sender)
-{
- var tbody = $(sender).closest('tbody');
- var row = $(sender).closest('tr');
-
- if (tbody.find('tr').length > 1)
- {
- deleteRow = function() { row.remove(); };
- row.find('div').hide('normal', deleteRow);
- }
- else
- {
- row.find('input, select').val('');
- }
-}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---